Webmasters Stack Exchange is a question and answer site for pro webmasters. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I am working on creating a demo of how to use HTML5's local storage. The demo will be placed on my personal website and will append the user submitted data to the html. Can XSS stored on the client negatively affect my website?

share|improve this question
up vote 1 down vote accepted

It is a new technology, and should not be used for any sort of production.


Please read the comments to further judge whether this is a good idea.

share|improve this answer
I am making a demo of how to use local storage on my website so it is not for production. My concern is that can XSS in local storage negatively hurt my website's reputation / rank. – Jordan Aug 1 '12 at 22:06
@Jordan - When you implement this, as long as your server is clean (the XSS is only on the visitor's machine, so it's non-persistent XSS) then it should have no effect on the rankings. – ionFish Aug 2 '12 at 1:07
Thank you for the answer – Jordan Aug 4 '12 at 13:52

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.