{"id":"CVE-2018-6341","state":"PUBLISHED","title":"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-s","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.","publishedAt":"2018-12-31T22:00:00.000Z","updatedAt":"2025-05-06T16:54:17.932Z","severity":{"score":6.1,"label":"Medium","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N","source":"CISA-ADP"},"assigner":"facebook","products":["Facebook react-dom"],"affected":[{"vendor":"Facebook","product":"react-dom","versions":[{"version":"16.4.2","status":"affected"},{"version":"16.4.0","status":"affected","lessThan":"unspecified","versionType":"custom"},{"version":"16.3.3","status":"affected"},{"version":"16.3.0","status":"affected","lessThan":"unspecified","versionType":"custom"},{"version":"16.2.1","status":"affected"},{"version":"16.2.0","status":"affected","lessThan":"unspecified","versionType":"custom"},{"version":"16.1.2","status":"affected"},{"version":"16.1.0","status":"affected","lessThan":"unspecified","versionType":"custom"},{"version":"16.0.1","status":"affected"},{"version":"16.0.0","status":"affected","lessThan":"unspecified","versionType":"custom"},{"version":"unspecified","status":"unaffected","lessThan":"16.0.0","versionType":"custom"}]}],"references":["https://reactjs.org/blog/2018/08/01/react-v-16-4-2.html","https://twitter.com/reactjs/status/1024745321987887104"],"weaknesses":["CWE-79"],"ingestedAt":"2026-10-29T19:44:58.277Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2018/6xxx/CVE-2018-6341.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.1","cveMetadata":{"cveId":"CVE-2018-6341","state":"PUBLISHED","datePublished":"2018-12-31T22:00:00.000Z","dateUpdated":"2025-05-06T16:54:17.932Z","assignerShortName":"facebook","assignerOrgId":"4fc57720-52fe-4431-a0fb-3d2c8747b827","dateReserved":"2018-01-26T00:00:00.000Z"},"containers":{"cna":{"descriptions":[{"lang":"en","value":"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."}],"affected":[{"vendor":"Facebook","product":"react-dom","versions":[{"version":"16.4.2","status":"affected"},{"version":"16.4.0","status":"affected","lessThan":"unspecified","versionType":"custom"},{"version":"16.3.3","status":"affected"},{"version":"16.3.0","status":"affected","lessThan":"unspecified","versionType":"custom"},{"version":"16.2.1","status":"affected"},{"version":"16.2.0","status":"affected","lessThan":"unspecified","versionType":"custom"},{"version":"16.1.2","status":"affected"},{"version":"16.1.0","status":"affected","lessThan":"unspecified","versionType":"custom"},{"version":"16.0.1","status":"affected"},{"version":"16.0.0","status":"affected","lessThan":"unspecified","versionType":"custom"},{"version":"unspecified","status":"unaffected","lessThan":"16.0.0","versionType":"custom"}]}],"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"]}],"problemTypes":[{"descriptions":[{"cweId":"CWE-79","description":"Improper Neutralization of Input During Web Page Generation (CWE-79)","lang":"en","type":"CWE"}]}],"providerMetadata":{"shortName":"facebook","dateUpdated":"2018-12-31T21:57:01.000Z","orgId":"4fc57720-52fe-4431-a0fb-3d2c8747b827"},"dateAssigned":"2018-08-01T00:00:00.000Z","datePublic":"2018-12-31T00:00:00.000Z","x_legacyV4Record":{"CVE_data_meta":{"ASSIGNER":"cve-assign@fb.com","DATE_ASSIGNED":"2018-08-01","ID":"CVE-2018-6341","STATE":"PUBLIC"},"affects":{"vendor":{"vendor_data":[{"product":{"product_data":[{"product_name":"react-dom","version":{"version_data":[{"version_affected":"!=>","version_value":"16.4.2"},{"version_affected":">=","version_value":"16.4.0"},{"version_affected":"!=>","version_value":"16.3.3"},{"version_affected":">=","version_value":"16.3.0"},{"version_affected":"!=>","version_value":"16.2.1"},{"version_affected":">=","version_value":"16.2.0"},{"version_affected":"!=>","version_value":"16.1.2"},{"version_affected":">=","version_value":"16.1.0"},{"version_affected":"!=>","version_value":"16.0.1"},{"version_affected":">=","version_value":"16.0.0"},{"version_affected":"!<","version_value":"16.0.0"}]}}]},"vendor_name":"Facebook"}]}},"data_format":"MITRE","data_type":"CVE","data_version":"4.0","description":{"description_data":[{"lang":"eng","value":"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."}]},"problemtype":{"problemtype_data":[{"description":[{"lang":"eng","value":"Improper Neutralization of Input During Web Page Generation (CWE-79)"}]}]},"references":{"reference_data":[{"name":"https://reactjs.org/blog/2018/08/01/react-v-16-4-2.html","refsource":"MISC","url":"https://reactjs.org/blog/2018/08/01/react-v-16-4-2.html"},{"name":"https://twitter.com/reactjs/status/1024745321987887104","refsource":"MISC","url":"https://twitter.com/reactjs/status/1024745321987887104"}]}}},"adp":[{"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":{"shortName":"CVE","orgId":"af854a3a-2127-422b-91ae-364da2661108","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":{"timestamp":"2025-05-06T16:54:12.196558Z","id":"CVE-2018-6341","options":[{"Exploitation":"none"},{"Automatable":"no"},{"Technical Impact":"partial"}],"role":"CISA Coordinator","version":"2.0.3"}}}],"providerMetadata":{"shortName":"CISA-ADP","orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","dateUpdated":"2025-05-06T16:54:17.932Z"}}]}}}