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.
Affected products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| react-dom | 16.4.2, 16.4.0 – < unspecified, 16.3.3, 16.3.0 – < unspecified, 16.2.1, 16.2.0 – < unspecified, 16.1.2, 16.1.0 – < unspecified, 16.0.1, 16.0.0 – < unspecified | unspecified |
Public exploits
Exploit or proof-of-concept code for this vulnerability is publicly available, which lowers the bar for attackers. Treat it as a reason to patch sooner.
GitHub 1 repository
-
diwangs/react16-ssr ★ 0 · Mar 20, 2023
CVE-2018-6341
Sources: PoC-in-GitHub, Metasploit Framework, Exploit-DB — updated daily. Only links are listed; no exploit code is hosted here.
Affected packages
| Ecosystem | Package | Affected | Fixed | Record |
|---|---|---|---|---|
| npm | react-dom | >= 16.0.0, < 16.0.1 | 16.0.1 | GHSA-mvjj-gqq2-p4hw |
| npm | react-dom | >= 16.1.0, < 16.1.2 | 16.1.2 | GHSA-mvjj-gqq2-p4hw |
| npm | react-dom | >= 16.2.0, < 16.2.1 | 16.2.1 | GHSA-mvjj-gqq2-p4hw |
| npm | react-dom | >= 16.3.0, < 16.3.3 | 16.3.3 | GHSA-mvjj-gqq2-p4hw |
| npm | react-dom | >= 16.4.0, < 16.4.2 | 16.4.2 | GHSA-mvjj-gqq2-p4hw |
Advisories 1
- WID-SEC-2022-1603 IBM Tivoli Netcool/OMNIbus: Mehrere Schwachstellen BSI CERT-Bund (WID) · Mar 24, 2026