Skip to content
CVE Tracker
  • Newest CVEsPage
  • Recently added to KEVPage
  • Rising exploitation (EPSS)Page
  • Weekly digestPage
  • StatisticsPage
  • WatchlistPage
  • API documentationPage
  • Data sourcesPage
  • ChangelogPage
  • AboutPage
  • How it's builtPage
Back

CVE-2018-6341

React applications which rendered to HTML using the ReactDOMServer API were not escaping user-supplied attribute names at render-time.…

Medium6.1EPSS 3.4%
Published
Updated
Reserved
Assigned by
facebook

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.

Scores

CVSS scores of CVE-2018-6341, by who scored it
Scored byCVSSScoreVector
CISA-ADPADP (enrichment)3.1Medium6.1CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
NVDNVD · Modified3.1Medium6.1CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
EPSS (exploitation in 30 days)
3.4% · top 11% of all CVEs (4 Nov 2026)
CISA SSVC
Exploitation: none · Automatable: no · Technical impact: partial
Loading the EPSS history…

The list uses the assigner's score when there is one, then CISA's, then NVD's: Medium 6.1.

Weakness

Affected products

  • Facebook · react-dom

    • affected 16.4.2
    • affected 16.4.0 – < unspecified
    • affected 16.3.3
    • affected 16.3.0 – < unspecified
    • affected 16.2.1
    • affected 16.2.0 – < unspecified
    • affected 16.1.2
    • affected 16.1.0 – < unspecified
    • affected 16.0.1
    • affected 16.0.0 – < unspecified
    • unaffected unspecified – < 16.0.0

Affected packages

From reviewed advisories of the GitHub Advisory Database.

References (2)

Sources

The same CVE in the primary databases and aggregators, to check against.

Badge for a README or a ticket

CVE-2018-6341 badge
[![CVE-2018-6341](https://trackcve.app/badge/CVE-2018-6341.svg)](https://trackcve.app/cve/CVE-2018-6341)

Record last updated .