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?

1 Answer 1


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.

  • 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
    Commented Aug 1, 2012 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
    Commented Aug 2, 2012 at 1:07

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

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