Including untrusted objects as React children can result in an XSS security vulnerability. This one took advantage of the way the arguments passed to React functions were being validated, tricking React into thinking it was rendering a React element instead of the string that was expected.
Remediation
Update the React JS library to the latest version.