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

CVE-2018-6341

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

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.

Timeline

  1. ID reserved

    By facebook

  2. · 11 months later

    Published

  3. · 6 years later

    Record updated

Changes after publication (a new score, a public exploit, EPSS crossing 1, 10 or 50 %, leaving KEV) are kept since November 2026; earlier ones are not known.

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 (10 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.

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://cveledger.app/badge/CVE-2018-6341.svg)](https://cveledger.app/cve/CVE-2018-6341)

Record last updated .