News for hackers. Stuff that matters.
Re:My Reaction to React by dchest on Wednesday January 27, 2016 @03:49PM (#10983189)
Could you please point out where the XSS issues are?
Re:My Reaction to React by undo76 on Thursday January 28, 2016 @04:30AM (#10987267)
Stupid me. I missread the code and did a proof of concept in jsbin just adding "</script><script>alert('XSS');</script><script>" as a hobby. Now I realise that I added it in the HTML view so I was just closing the original <script> tag. So, no XSS issues, AFAIK. I am updating my original response to reflect this.

Nevertheless, using a framework like React protects you automatically from accidentally adding XSS vulnerabilities.

Re:My Reaction to React by dchest on Thursday January 28, 2016 @05:14AM (#10987377)
Thanks, I thought I missed some XSS unknown to me in that code. Agree with you about React and other frameworks making it hard to accidentally introduce XSS.