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

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
Sign in to follow this  

×
×
  • Create New...