I have some cases of cross-site scripting (XSS) in hidden HTML input fields. There are some known XSS vectors that can be used for example using the HTML accesskey.
XSS in hidden inputs is frequently very difficult to exploit because typical JavaScript events like
onmouseover
andonfocus
can't be triggered due to the element being invisible. Source: http://blog.portswigger.net/2015/11/xss-in-hidden-input-fields.html
But the use of an so called accesskey
takes a high user interaction. Is there another way to inject code here and have it execute without keypresses or a milder form of user interaction?
In my current case the three characters ()>
are filtered.
I need an XSS vector that can be injected in this position:
<input type="hidden" name="[INJECTION]" />
Another reference to the accesskey XSS trick can be found here: https://www.davidsopas.com/xss-on-a-input-hidden-field/
unclear what you're asking
is notI don't like this question, so it should be closed
, orThe question is badly phrased, lets close it
. That's what downvoting and editing are for. That being said, this is a duplicate of Any eventhandlers that apply to hidden elements?.\u003
instead of>
.