Cross-site scripting in Meta react-dom
Key facts
- Attack vector
- Network
- Privileges required
- None
- User interaction
- Required
- Attack complexity
- Low
- Impact type
- Cross-site scripting
- Confidentiality · integrity · availability
- Low · Low · None
- Fix status
- Fixed
Attack profile from CVSS 3.1 · CISA ADP. Fix status from CNA and GitHub. Impact type from CWE-79.
Summary
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.
Why it matters now
SSVC decision points
CISA ADP · SSVC 2.0.3
- Exploitation
- None
- Automatable
- No
- Technical impact
- Partial
The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| Meta | react-dom | 16.4.2; 16.4.0 and later; 16.3.3; 16.3.0 and later; 16.2.1; 16.2.0 and later; 16.1.2; 16.1.0 and later; 16.0.1; 16.0.0 and later | — | No fix listed | CNA |
| — | react-dom (npm) | 16.0.0 to before 16.0.1 | 16.0.1 | Patch available | GHSA-mvjj-gqq2-p4hw |
| — | react-dom (npm) | 16.1.0 to before 16.1.2 | 16.1.2 | Patch available | GHSA-mvjj-gqq2-p4hw |
| — | react-dom (npm) | 16.2.0 to before 16.2.1 | 16.2.1 | Patch available | GHSA-mvjj-gqq2-p4hw |
| — | react-dom (npm) | 16.3.0 to before 16.3.3 | 16.3.3 | Patch available | GHSA-mvjj-gqq2-p4hw |
| — | react-dom (npm) | 16.4.0 to before 16.4.2 | 16.4.2 | Patch available | GHSA-mvjj-gqq2-p4hw |
- react-dom VendorMeta Affected 16.4.2; 16.4.0 and later; 16.3.3; 16.3.0 and later; 16.2.1; 16.2.0 and later; 16.1.2; 16.1.0 and later; 16.0.1; 16.0.0 and later Fixed in — No fix listed CNA
- react-dom (npm) Vendor— Affected 16.0.0 to before 16.0.1 Fixed in 16.0.1 Patch available GHSA-mvjj-gqq2-p4hw
- react-dom (npm) Vendor— Affected 16.1.0 to before 16.1.2 Fixed in 16.1.2 Patch available GHSA-mvjj-gqq2-p4hw
- react-dom (npm) Vendor— Affected 16.2.0 to before 16.2.1 Fixed in 16.2.1 Patch available GHSA-mvjj-gqq2-p4hw
- react-dom (npm) Vendor— Affected 16.3.0 to before 16.3.3 Fixed in 16.3.3 Patch available GHSA-mvjj-gqq2-p4hw
- react-dom (npm) Vendor— Affected 16.4.0 to before 16.4.2 Fixed in 16.4.2 Patch available GHSA-mvjj-gqq2-p4hw
CPE configurations NVD · 1
| CPE | Versions | Role | Vendor |
|---|---|---|---|
| cpe:2.3:a:facebook:react:*:*:*:*:*:*:*:* | 16.0.0 to before 16.0.1; 16.1.0 to before 16.1.2; 16.2.0 to before 16.2.1; 16.3.0 to before 16.3.3; 16.4.0 to before 16.4.2 | Vulnerable | Meta |
- cpe:2.3:a:facebook:react:*:*:*:*:*:*:*:* Versions 16.0.0 to before 16.0.1; 16.1.0 to before 16.1.2; 16.2.0 to before 16.2.1; 16.3.0 to before 16.3.3; 16.4.0 to before 16.4.2 Vulnerable ·Meta
Remediation
- Fix · GHSA-mvjj-gqq2-p4hw react-dom (npm) Fixed in 16.0.1 Advisory →
- Fix · GHSA-mvjj-gqq2-p4hw react-dom (npm) Fixed in 16.1.2 Advisory →
- Fix · GHSA-mvjj-gqq2-p4hw react-dom (npm) Fixed in 16.2.1 Advisory →
- Fix · GHSA-mvjj-gqq2-p4hw react-dom (npm) Fixed in 16.3.3 Advisory →
- Fix · GHSA-mvjj-gqq2-p4hw react-dom (npm) Fixed in 16.4.2 Advisory →
Timeline
- 2026-10-02 Threatist record created from CVE-2018-6341
- 2026-10-03 Alias added: GHSA-mvjj-gqq2-p4hw
References
More Meta React vulnerabilities
- TI-2025-34861 Deserialization of untrusted data in Meta react-server-dom-webpack KEVCVSS 3.1CRITICAL 10.0
- TI-2025-34863 Deserialization of untrusted data in Meta react-server-dom-webpack CVSS 3.1HIGH 7.5
- TI-2025-34862 Deserialization of untrusted data in Meta react-server-dom-webpack CVSS 3.1MEDIUM 5.3
- TI-2025-41449 Uncontrolled resource consumption in Meta react-server-dom-parcel CVSS 3.1HIGH 7.5
- TI-2026-19225 Uncontrolled resource consumption in Meta react-server-dom-webpack CVSS 3.1HIGH 7.5
Sources
- CVE-2018-6341 · CVE Program
- CVE-2018-6341 · NVD
- FIRST EPSS
- GHSA-mvjj-gqq2-p4hw · GitHub Advisory Database · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences