Description
React applications which rendered to HTML using the ReactDOMServer API were not escaping user-supplied attribute names at render-time. That lack of escaping could lead to a cross-site scripting vulnerability. This issue affected minor releases 16.0.x, 16.1.x, 16.2.x, 16.3.x, and 16.4.x. It was fixed in 16.0.1, 16.1.2, 16.2.1, 16.3.3, and 16.4.2.
Remediation
References
https://reactjs.org/blog/2018/08/01/react-v-16-4-2.html
https://twitter.com/reactjs/status/1024745321987887104
Related Vulnerabilities
CVE-2022-36093 Vulnerability in maven package org.xwiki.platform:xwiki-platform-web-templates
CVE-2019-1003035 Vulnerability in maven package org.jenkins-ci.plugins:azure-vm-agents
CVE-2020-36321 Vulnerability in maven package com.vaadin:flow-server
CVE-2021-45105 Vulnerability in maven package org.apache.logging.log4j:log4j-core
CVE-2017-5657 Vulnerability in maven package org.apache.archiva:archiva