As part of bug bounty, I have a PATCH request to the API to change my name. I can post theses chars:
:
;
'
*
`
=
#
/
[
]
(
)
This is the HTML result :
data-cy="label-input__input" value="My injection :;'*`=#/[]()" class="label-input__input" data-v-71bcf264> <!---->
Am I obligated to use the char " to inject my JavaScript ?
I already visited the page : XSS payload without - &<>"=() but the following code doesn't works:
javascript:alert`1`
valueattribute to perform an xss. Since the value attribute starts with a", it must also be closed with a". So no, you cannot perform an xss here if you can't use a". – nobody Mar 03 '21 at 07:24