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?
[ Parent
| on HN ]
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.