Take the 2-minute tour ×
Webmasters Stack Exchange is a question and answer site for pro webmasters. It's 100% free, no registration required.

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

1 Answer 1

up vote 1 down vote accepted

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

http://michael-coates.blogspot.com/2010/07/html5-local-storage-and-xss.html

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

 
discard

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.