I have a website with the following code:
<input class="Header--search--form-input" name="search" value="" onfocus="alert(1)" autofocus="" placeholder="put request" >
When I try to put XSS in it, the code turns into text. Do you have any ideas about how to deceive it?
value=
attribute of the text field, but it's being html escaped (eg."
converted to"
etc)? you need to provide more infomation, eg. about the web server or app, etc. and even then, the answer will probably be: "it's not possible"" onalert=alert("xss") data="
and that i got:<input class="Header--search--form-input" name="search" value="" onalert=alert("xss") data="" placeholder="Введите запрос">
"
it just"