6.1

CVE-2018-6341: facebook react Cross-site Scripting

CVSS: 6.1v3.1MediumModified
AliasesGHSA-mvjj-gqq2-p4hw
Published 31-12-2018Last modified 06-05-2025

Vulnerability summary

CVE-2018-6341 is a medium (CVSS 6.1) Cross-site Scripting vulnerability in facebook react. EPSS estimates a 3.43% chance of exploitation in the next 30 days, higher than 88.7% of scored vulnerabilities.

Overall risk
25/100
0100
Medium · default modelHow is this calculated?
CVSS score
6.1/10
010
Medium · v3.1 (CVE.org)
EPSS score
3.43%
0%100%
Low · 0.00 pp in 30 days
KEVNot listedIn no KEV catalog
RansomwareNone recordedNo known use recorded
Public exploits0No public exploits recorded

Timeline

  1. 31-12-2018
    PublishedVulnerability first disclosed.
  2. 06-05-2025
    Last modifiedVulnerability information updated.

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.

CVSS metrics

5 scores · 3 sources · 3 versions

EPSS trend

Probability

3.43%

Chance of exploitation in the next 30 days

Percentile

89%

Versus all other CVEs

30-day change

0.00 pp

From 3.43% on 19-09-2026

19-09-202619-10-2026
EPSS score
3.43%

Known exploited

Compare KEV catalogs

Not in any of the 3 tracked catalogs.

Public exploits

0 found

No public exploits indexed.

Weaknesses

CWE · root cause

Affected systems

Facebook2 products
  • react≥ 16.0.0, < 16.0.1 | ≥ 16.1.0, < 16.1.2 | ≥ 16.2.0, < 16.2.1 | ≥ 16.3.0, < 16.3.3 | ≥ 16.4.0, < 16.4.2
  • react-dom16.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
Npm1 product
  • react-dom≥ 16.0.0, < 16.0.1 | ≥ 16.1.0, < 16.1.2 | ≥ 16.2.0, < 16.2.1 | ≥ 16.3.0, < 16.3.3 | ≥ 16.4.0, < 16.4.2

2 vendors · 3 products

References

6 links