CVE-2018-6341
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
| Field | Status | Checked at (UTC) | Source |
|---|---|---|---|
| kev | verified | 2026-11-19T15:55:09.885Z | CISA KEV |
| cvss | unknown | unknown | unknown |
| epss | verified | 2026-11-19T16:04:25.255Z | FIRST EPSS |
| patches | verified | 2026-11-19T12:52:30.146Z | OSV |
| affected | verified | 2026-11-19T12:55:07.807Z | CVE Program |
| lifecycle | verified | 2026-11-19T12:55:07.807Z | CVE 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 JSONOSV · 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 JSONCorrection 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 type | Distribution / release | Package | Channel | Version or source note | Source |
|---|---|---|---|---|---|
| ecosystem-boundary | npm / package | react-dom | Not a distribution channel | 16.0.1 | Official record |
| ecosystem-boundary | npm / package | react-dom | Not a distribution channel | 16.1.2 | Official record |
| ecosystem-boundary | npm / package | react-dom | Not a distribution channel | 16.2.1 | Official record |
| ecosystem-boundary | npm / package | react-dom | Not a distribution channel | 16.3.3 | Official record |
| ecosystem-boundary | npm / package | react-dom | Not a distribution channel | 16.4.2 | Official record |
Vendor notices and operational guidance
No connected vendor notice is available for this record.
Original sources and dates
- OSVConsulted: 2026-11-19T12:52:30.146ZArchived source JSON
Source publication: 2019-01-04T19:05:35.000Z
Source modification: 2023-11-08T04:00:21.209ZDocument fingerprint
5bfc7bad192a62fb69c13b04949d7c1d7e6cd29a93a280bf25dab383fb3c50a9 - CISA KEVConsulted: 2026-11-19T15:55:09.885ZArchived source JSON
Source publication: not supplied
Source modification: 2026-11-18T19:17:41.0354ZDocument fingerprint
a35fdc67c7d9802988dcfc1d3ff1198da327948d1db122ab7692ac201055ac56 - CVE ProgramConsulted: 2026-11-19T12:55:07.807ZArchived source JSON
Source publication: 2018-12-31T22:00:00.000Z
Source modification: 2025-05-06T16:54:17.932ZDocument fingerprint
29771ed400f91c4a1a0e3a42cf2fe02e7ef33b4fbbf577fc40244502a6aec454 - FIRST EPSSConsulted: 2026-11-19T16:04:25.255ZArchived source JSON
Source publication: not supplied
Source modification: not suppliedDocument fingerprint
3667369af43a2e08c587b7e227e51782fd94fb781bcb3d5d75d036fed21180aa
Official status history
- UNKNOWN → PUBLISHED · · evidence