{"id":"CVE-2018-6341","url":"https://www.cyber-defence.io/tools/cve/CVE-2018-6341","generatedAt":"2026-10-29T01:51:40.902Z","title":"That lack of escaping could lead to a cross-site scripting vulnerability.","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.","published":"2018-12-31T22:29:00.000Z","lastModified":"2026-06-17T02:01:42.000Z","status":"Modified","sourceIdentifier":"cve-assign@fb.com","cvss":{"version":"3.1","score":6.1,"severity":"MEDIUM","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N"},"cwe":["CWE-79"],"affected":["facebook/react"],"epss":{"score":0.03426,"percentile":0.88857,"date":"2026-10-27","history":[]},"kev":{"listed":false},"exploits":{"count":0,"verified":false,"firstPublished":null,"source":"Exploit-DB (https://gitlab.com/exploit-database/exploitdb)","entries":[]},"verdict":{"level":"low","text":"Lower severity and a low EPSS score (3.43%). Track it; it rarely justifies an emergency change on its own."},"changes":[],"references":[{"url":"https://reactjs.org/blog/2018/08/01/react-v-16-4-2.html","tags":["Vendor Advisory"],"source":"cve-assign@fb.com"},{"url":"https://twitter.com/reactjs/status/1024745321987887104","tags":["Vendor Advisory"],"source":"cve-assign@fb.com"},{"url":"https://reactjs.org/blog/2018/08/01/react-v-16-4-2.html","tags":["Vendor Advisory"],"source":"af854a3a-2127-422b-91ae-364da2661108"},{"url":"https://twitter.com/reactjs/status/1024745321987887104","tags":["Vendor Advisory"],"source":"af854a3a-2127-422b-91ae-364da2661108"}],"sources":{"nvd":"https://nvd.nist.gov/vuln/detail/CVE-2018-6341","epss":"https://www.first.org/epss/","kev":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","exploitdb":"https://www.exploit-db.com/"},"licence":"CC BY 4.0 — link back to the CVE Explorer if you publish the results; upstream data remains subject to its own terms."}