New answers tagged xss
0
votes
What happens if my anti-CSRF token is compromised by an XSS attack?
An XSS attack, while it is ongoing, strictly dominates CSRF; anything an attacker could do with CSRF, they can do with XSS (and much more besides).
However, there is a question: what happens after the ...
0
votes
XSS against jQuery PortSwigger challenge
The vulnerable code is this:
<script src="/resources/js/jquery_1-8-2.js"></script>
[...]
<script>
$(window).on('hashchange', function(){
var post = $('section.blog-list h2:...
0
votes
Is it safe to store the OIDC token in a private field of a javascript object?
Safe enough, sure, lots of sites do this. An attacker who gets XSS on the site might still be able to extract the token, depending on exactly how the function that adds it to API calls is invoked (for ...
0
votes
is a stored xss possible if user input is not saved?
Interestingly, I would say "yes".
For me the core difference between stored XSS (sXSS) and reflected XSS (rXSS) is in the exploitation. rXSS reflects input back for one user in the same HTTP ...
Top 50 recent answers are included
Related Tags
xss × 1519javascript × 391
web-application × 296
html × 126
csrf × 102
php × 93
web-browser × 84
reflected-xss × 79
cookies × 69
appsec × 57
content-security-policy × 54
injection × 51
dom × 49
vulnerability × 48
encoding × 48
sql-injection × 43
penetration-test × 37
exploit × 35
attacks × 34
http × 31
jquery × 27
attack-prevention × 26
json × 24
iframe × 21
jwt × 20