Protective holes or vulnerabilities in ReactJS?

I am trying to figure out what kind of security issues might arise with ReactJS, but I have trouble finding it. A quick Google search for Angular contains several useful websites. Are they for ReactJS or can someone explain this?

+5
source share
1 answer

As @WiredPrarie pointed to React automatically screens for XSS .

If you want to render an HTML object in dynamic content, you will run into double escaping problems, since React escapes all the lines you display to prevent a wide range of XSS attacks by default.

An example of a recent vulnerability found can be seen here , but has long been fixed.

Also see the link regarding raw html insertion.

Keep in mind that using isomorphic / server-side rendering can lead to potential vulnerabilities, especially in cases where the initial state is embedded in the page that will be served. See the link.

+3
source

All Articles