6.1

CVE-2018-6341: facebook react

Modified
AliasesGHSA-mvjj-gqq2-p4hw
Published 31-12-2018Last modified 06-05-2025

Vulnerability summary

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

Priority
Routine

Not severe (CVSS 6.1, network access); no exploitation reported by the 5 checked sources

Source freshness unavailable

How is this decided?
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 listedNot listed by any tracked catalog.
RansomwareNot flaggedNo ransomware 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

No change 0.00 pp

From 3.43% on 04-11-2026

04-11-202604-12-2026

Known exploited

Compare KEV catalogs
CISA KEV

Not in the CISA KEV catalog.

ENISA CNW

Not in the ENISA CNW catalog.

CIRCL

Not in the CIRCL catalog.

Public exploits

0 found

No public exploits indexed.

Weaknesses

CWE · root cause

Affected systems

Version check

Known conditions: network-reachable, no authentication, user interaction (CVSS vector). Other conditions: not stated in public data.

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