Jump to content
Sign in to follow this  
venins

xss in w3school

Recommended Posts

There's no real threat to allowing people to add their own HTML into the iframe. I wouldn't really call it XSS any more than the Try-It editor.

Share this post


Link to post
Share on other sites

Hmmm... and just what is that top toolbar? My name is:

<script>alert("xss");</script>

Edited by davej

Share this post


Link to post
Share on other sites

This is supposed to be an overly simplified example... not to be used "for realz".How to fix this should IMHO be explained in later tutorials, but as far this one is concerned - it poses no danger to W3Schools' server, nor can one user touch another, so it's fine.

Share this post


Link to post
Share on other sites

XSS would require persistent storage of an injected script. Is that in any way possible? You could inject a script into your own cookie but that cookie resides on your own machine.

Edited by davej

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

×