CVEMETERBack to radar
OFFICIAL RECORD · JavaScript packages

CVE-2018-6341

PUBLISHEDOfficial status check: verifiedCVSS unknown: unknown · unknown

JavaScript packages · CVE-2018-6341

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.

Exposure status: unknown. This page does not establish whether an installed system is affected or corrected.

Severity and exploitation evidence

EPSS: 3.426% · score date 2026-11-19. EPSS is an estimated probability over the next 30 days, not proof of exploitation.

CISA KEV: not included in the checked catalog; exploitation may still occur. Last checked: 2026-11-19T15:55:09.885Z. Public exploit availability is not used to set this status.

Verification by field

FieldStatusChecked at (UTC)Source
kevverified2026-11-19T15:55:09.885ZCISA KEV
cvssunknownunknownunknown
epssverified2026-11-19T16:04:25.255ZFIRST EPSS
patchesverified2026-11-19T12:52:30.146ZOSV
affectedverified2026-11-19T12:55:07.807ZCVE Program
lifecycleverified2026-11-19T12:55:07.807ZCVE Program

Affected versions and configuration

Facebook react-dom; default status: unknown: 16.4.2 [affected; scheme: unspecified]; 16.4.0 to < unspecified [affected; scheme: custom]; 16.3.3 [affected; scheme: unspecified]; 16.3.0 to < unspecified [affected; scheme: custom]; 16.2.1 [affected; scheme: unspecified]; 16.2.0 to < unspecified [affected; scheme: custom]; 16.1.2 [affected; scheme: unspecified]; 16.1.0 to < unspecified [affected; scheme: custom]; 16.0.1 [affected; scheme: unspecified]; 16.0.0 to < unspecified [affected; scheme: custom]; unspecified to < 16.0.0 [unaffected; scheme: custom]

Defaults, conditional configuration, package status and version schemes are retained below. A version range alone is not an exposure verdict.

CVE Program · cve-json · full conditions
{
  "affected": [
    {
      "vendor": "Facebook",
      "product": "react-dom",
      "versions": [
        {
          "status": "affected",
          "version": "16.4.2"
        },
        {
          "status": "affected",
          "version": "16.4.0",
          "lessThan": "unspecified",
          "versionType": "custom"
        },
        {
          "status": "affected",
          "version": "16.3.3"
        },
        {
          "status": "affected",
          "version": "16.3.0",
          "lessThan": "unspecified",
          "versionType": "custom"
        },
        {
          "status": "affected",
          "version": "16.2.1"
        },
        {
          "status": "affected",
          "version": "16.2.0",
          "lessThan": "unspecified",
          "versionType": "custom"
        },
        {
          "status": "affected",
          "version": "16.1.2"
        },
        {
          "status": "affected",
          "version": "16.1.0",
          "lessThan": "unspecified",
          "versionType": "custom"
        },
        {
          "status": "affected",
          "version": "16.0.1"
        },
        {
          "status": "affected",
          "version": "16.0.0",
          "lessThan": "unspecified",
          "versionType": "custom"
        },
        {
          "status": "unaffected",
          "version": "unspecified",
          "lessThan": "16.0.0",
          "versionType": "custom"
        }
      ]
    }
  ],
  "additionalContainers": [
    {
      "title": "CVE Program Container",
      "references": [
        {
          "url": "https://reactjs.org/blog/2018/08/01/react-v-16-4-2.html",
          "tags": [
            "x_refsource_MISC",
            "x_transferred"
          ]
        },
        {
          "url": "https://twitter.com/reactjs/status/1024745321987887104",
          "tags": [
            "x_refsource_MISC",
            "x_transferred"
          ]
        }
      ],
      "providerMetadata": {
        "orgId": "af854a3a-2127-422b-91ae-364da2661108",
        "shortName": "CVE",
        "dateUpdated": "2024-08-05T06:01:48.794Z"
      }
    },
    {
      "title": "CISA ADP Vulnrichment",
      "metrics": [
        {
          "cvssV3_1": {
            "scope": "CHANGED",
            "version": "3.1",
            "baseScore": 6.1,
            "attackVector": "NETWORK",
            "baseSeverity": "MEDIUM",
            "vectorString": "CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N",
            "integrityImpact": "LOW",
            "userInteraction": "REQUIRED",
            "attackComplexity": "LOW",
            "availabilityImpact": "NONE",
            "privilegesRequired": "NONE",
            "confidentialityImpact": "LOW"
          }
        },
        {
          "other": {
            "type": "ssvc",
            "content": {
              "id": "CVE-2018-6341",
              "role": "CISA Coordinator",
              "options": [
                {
                  "Exploitation": "none"
                },
                {
                  "Automatable": "no"
                },
                {
                  "Technical Impact": "partial"
                }
              ],
              "version": "2.0.3",
              "timestamp": "2025-05-06T16:54:12.196558Z"
            }
          }
        }
      ],
      "providerMetadata": {
        "orgId": "134c704f-9b21-4f2e-91b3-4a467353bcc0",
        "shortName": "CISA-ADP",
        "dateUpdated": "2025-05-06T16:54:17.932Z"
      }
    }
  ]
}
Archived source JSON
OSV · osv · full conditions
{
  "id": "GHSA-mvjj-gqq2-p4hw",
  "aliases": [
    "CVE-2018-6341"
  ],
  "affected": [
    {
      "ranges": [
        {
          "type": "SEMVER",
          "events": [
            {
              "introduced": "16.0.0"
            },
            {
              "fixed": "16.0.1"
            }
          ]
        }
      ],
      "package": {
        "name": "react-dom",
        "purl": "pkg:npm/react-dom",
        "ecosystem": "npm"
      },
      "versions": [
        "16.0.0"
      ],
      "database_specific": {
        "source": "https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2019/01/GHSA-mvjj-gqq2-p4hw/GHSA-mvjj-gqq2-p4hw.json"
      }
    },
    {
      "ranges": [
        {
          "type": "SEMVER",
          "events": [
            {
              "introduced": "16.1.0"
            },
            {
              "fixed": "16.1.2"
            }
          ]
        }
      ],
      "package": {
        "name": "react-dom",
        "purl": "pkg:npm/react-dom",
        "ecosystem": "npm"
      },
      "versions": [],
      "database_specific": {
        "source": "https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2019/01/GHSA-mvjj-gqq2-p4hw/GHSA-mvjj-gqq2-p4hw.json"
      }
    },
    {
      "ranges": [
        {
          "type": "SEMVER",
          "events": [
            {
              "introduced": "16.2.0"
            },
            {
              "fixed": "16.2.1"
            }
          ]
        }
      ],
      "package": {
        "name": "react-dom",
        "purl": "pkg:npm/react-dom",
        "ecosystem": "npm"
      },
      "versions": [
        "16.2.0"
      ],
      "database_specific": {
        "source": "https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2019/01/GHSA-mvjj-gqq2-p4hw/GHSA-mvjj-gqq2-p4hw.json"
      }
    },
    {
      "ranges": [
        {
          "type": "SEMVER",
          "events": [
            {
              "introduced": "16.3.0"
            },
            {
              "fixed": "16.3.3"
            }
          ]
        }
      ],
      "package": {
        "name": "react-dom",
        "purl": "pkg:npm/react-dom",
        "ecosystem": "npm"
      },
      "versions": [],
      "database_specific": {
        "source": "https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2019/01/GHSA-mvjj-gqq2-p4hw/GHSA-mvjj-gqq2-p4hw.json"
      }
    },
    {
      "ranges": [
        {
          "type": "SEMVER",
          "events": [
            {
              "introduced": "16.4.0"
            },
            {
              "fixed": "16.4.2"
            }
          ]
        }
      ],
      "package": {
        "name": "react-dom",
        "purl": "pkg:npm/react-dom",
        "ecosystem": "npm"
      },
      "versions": [],
      "database_specific": {
        "source": "https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2019/01/GHSA-mvjj-gqq2-p4hw/GHSA-mvjj-gqq2-p4hw.json"
      }
    }
  ],
  "severity": [
    {
      "type": "CVSS_V3",
      "score": "CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N"
    }
  ],
  "upstream": [],
  "withdrawn": null,
  "references": [
    {
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2018-6341",
      "type": "ADVISORY"
    },
    {
      "url": "https://github.com/advisories/GHSA-mvjj-gqq2-p4hw",
      "type": "ADVISORY"
    },
    {
      "url": "https://reactjs.org/blog/2018/08/01/react-v-16-4-2.html",
      "type": "WEB"
    },
    {
      "url": "https://snyk.io/vuln/npm:react-dom:20180802",
      "type": "WEB"
    },
    {
      "url": "https://twitter.com/reactjs/status/1024745321987887104",
      "type": "WEB"
    },
    {
      "url": "https://www.npmjs.com/advisories/1421",
      "type": "WEB"
    }
  ],
  "relatedGitRanges": [],
  "database_specific": {
    "cwe_ids": [
      "CWE-79"
    ],
    "severity": "MODERATE",
    "github_reviewed": true,
    "nvd_published_at": null,
    "github_reviewed_at": "2020-06-16T21:47:15Z"
  }
}
Archived source JSON

Correction evidence

Distribution packages and upstream releases are distinct. ESM channels may require the corresponding Ubuntu entitlement. Notes and branch ranges are not installable package versions. OSV fixed boundaries are ecosystem-specific version thresholds, not proof that a package is currently available or installed.

Evidence typeDistribution / releasePackageChannelVersion or source noteSource
ecosystem-boundarynpm / packagereact-domNot a distribution channel16.0.1Official record
ecosystem-boundarynpm / packagereact-domNot a distribution channel16.1.2Official record
ecosystem-boundarynpm / packagereact-domNot a distribution channel16.2.1Official record
ecosystem-boundarynpm / packagereact-domNot a distribution channel16.3.3Official record
ecosystem-boundarynpm / packagereact-domNot a distribution channel16.4.2Official record

Vendor notices and operational guidance

No connected vendor notice is available for this record.

Original sources and dates

Official status history