2
votes
Reflected XSS found in web application via POST request with JSON body. Is this issue exploitable?
It depends on how strongly the content-type requirement is enforced. There are three possibilities here:
Most of the time, the server only cares that the content can be parsed as JSON and ignores the ...
1
vote
Parameter vulnerable for HTML injection but cannot exploit because of URL encoding
Do you see this behavior in all browsers? If not, you could abuse it in those specific browsers.
Another method you could try is for instance including the vulnerable page using an <iframe>. ...
1
vote
Is PHP json_encode sufficient for HTML data blocks?
Even though a data block won't be processed by the browser, the question is whether or not the JSON string is able to escape the data block in the context of HTML. If we're talking about language-...
1
vote
How can I steal all cookies from reflected XSS?
If document.cookie is empty, it is likely these cookies are set with the HttpOnly flag. This means you cannot access the cookies through JavaScript.
You shall have to reside to other methods in which ...
Only top scored, non community-wiki answers of a minimum length are eligible
Related Tags
xss × 1456javascript × 373
web-application × 288
html × 121
csrf × 101
php × 93
web-browser × 81
cookies × 69
reflected-xss × 69
appsec × 56
injection × 51
content-security-policy × 49
encoding × 46
dom × 46
vulnerability × 45
sql-injection × 43
penetration-test × 39
exploit × 35
attacks × 33
http × 30
jquery × 27
attack-prevention × 26
json × 25
jwt × 20
webserver × 19