I was using Burp Suite for some testing and I noticed that they included the following string:
as an attack string for an XSS payload.
How could this string be used to execute a XSS attack?
Information Security Stack Exchange is a question and answer site for information security professionals. It only takes a minute to sign up.Sign up to join this community
In this case the first
\ is escaping an escape to provide attacker with a un-escaped double-quote:
This is assuming the target application has a broken escape routine.
I am not sure about this scenario, but think of it like this.
<script> somecode "some value the user input here" alert('XSS');// </script>
In that situation, the Script tags are not necessey, but only the code will work as an XSS. For such a situation, the code \";alert('XSS');// will be neccessary. Just sharing a thought.