{"id":"CVE-2018-6341","published":"2018-12-31T22:00:00Z","modified":"2025-05-06T16:54:17Z","title":"React applications which rendered to HTML using the ReactDOMServer API were not escaping user-supplied attribute names…","vendor":"Meta","product":"react-dom","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":6.1,"severity":"MEDIUM","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N","provenance":"source","from":"CISA ADP Vulnrichment"},"epss":{"score":0.03426,"percentile":0.89214,"provenance":"source"},"cwes":[{"id":"CWE-79","name":"Improper Neutralization of Input During Web Page Generation"}],"references":[{"url":"https://reactjs.org/blog/2018/08/01/react-v-16-4-2.html","tags":["x_refsource_MISC"]},{"url":"https://twitter.com/reactjs/status/1024745321987887104","tags":["x_refsource_MISC"]}],"priority":{"score":27.1,"factors":[{"name":"EPSS percentile","points":17.84},{"name":"Public exploit code","points":5.0},{"name":"CVSS severity","points":4.27}]},"exploitSources":{"pocGithub":{"count":1,"skipped":0,"earliest":"2023-03-20","earliestUrl":"https://github.com/diwangs/react16-ssr","repos":[{"name":"diwangs/react16-ssr","url":"https://github.com/diwangs/react16-ssr","stars":0,"created":"2023-03-20"}]},"first":{"date":"2023-03-20","source":"PoC-in-GitHub","url":"https://github.com/diwangs/react16-ssr"},"provenance":"source"},"vendorSlug":"meta","affectedVersions":[{"vendor":"Facebook","product":"react-dom","versions":["16.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"]}],"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial","timestamp":"2025-05-06T16:54:12.196558Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"npm","package":"react-dom","vulnerableRanges":[">=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"],"patched":["16.0.1","16.1.2","16.2.1","16.3.3","16.4.2"],"from":["GHSA-mvjj-gqq2-p4hw"],"provenance":"source"}],"summary":{"text":"The react-dom package's ReactDOMServer API fails to escape user-supplied attribute names during server-side HTML rendering, in the 16.0.x through 16.4.x minor release lines. An unauthenticated remote attacker can exploit this cross-site scripting flaw over the network with low complexity, but it requires user interaction, such as the victim opening a crafted link or page.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-21T05:37:52Z"},"euvd":{"id":"EUVD-2019-0190","exploited":false,"provenance":"source"}}