{"id":"CVE-2024-48910","published":"2024-10-31T14:22:52Z","modified":"2025-11-03T20:41:01Z","title":"DOMPurify vulnerable to tampering by prototype polution","vendor":"cure53","product":"DOMPurify","tier":"tail","description":{"text":"DOMPurify is a DOM-only, super-fast, uber-tolerant XSS sanitizer for HTML, MathML and SVG. DOMPurify was vulnerable to prototype pollution. This vulnerability is fixed in 2.4.2.","provenance":"source","from":"CVE.org"},"cvss":{"score":9.1,"severity":"CRITICAL","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.01151,"percentile":0.67713,"provenance":"source"},"cwes":[{"id":"CWE-1321","name":"Improperly Controlled Modification of Object Prototype Attributes"}],"references":[{"url":"https://github.com/cure53/DOMPurify/security/advisories/GHSA-p3vf-v8qc-cwcr","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/cure53/DOMPurify/commit/d1dd0374caef2b4c56c3bd09fe1988c3479166dc","tags":["x_refsource_MISC"]},{"url":"https://lists.debian.org/debian-lts-announce/2025/02/msg00010.html","tags":[]}],"priority":{"score":24.9,"factors":[{"name":"EPSS percentile","points":13.54},{"name":"Public exploit code","points":5.0},{"name":"CVSS severity","points":6.37}]},"exploitSources":{"pocGithub":{"count":1,"skipped":1,"earliest":"2025-11-11","earliestUrl":"https://github.com/Mitchellzhou1/CVE-2024-48910-PoC","repos":[{"name":"Mitchellzhou1/CVE-2024-48910-PoC","url":"https://github.com/Mitchellzhou1/CVE-2024-48910-PoC","stars":2,"created":"2025-11-11"}]},"first":{"date":"2025-11-11","source":"PoC-in-GitHub","url":"https://github.com/Mitchellzhou1/CVE-2024-48910-PoC"},"provenance":"source"},"vendorSlug":"cure53","affectedVersions":[{"vendor":"cure53","product":"DOMPurify","versions":["< 2.4.2"]}],"ssvc":{"exploitation":"none","automatable":"yes","technicalImpact":"total","timestamp":"2024-10-31T15:52:58.729943Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"npm","package":"dompurify","vulnerableRanges":["<2.4.2"],"patched":["2.4.2"],"from":["GHSA-p3vf-v8qc-cwcr"],"provenance":"source"}],"summary":{"text":"The flaw is a prototype pollution weakness in DOMPurify, the DOM-only HTML, MathML and SVG XSS sanitizer from cure53. An attacker who can get the affected code to modify object prototype attributes can tamper with the application's objects, and this can be triggered remotely over the network with no privileges or user interaction required and low attack complexity.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-21T07:25:13Z"},"euvd":{"id":"EUVD-2024-3092","exploited":false,"provenance":"source"},"lineage":{"familyId":"fam-cure53-dompurify-cve-2019-20374","parents":[{"from":"CVE-2019-20374","to":"CVE-2024-48910","relation":"related","confidence":"medium","kind":"lineage","evidence":[{"kind":"same-code","provenance":"machine","files":["dist/purify.es.js","dist/purify.es.js.map"],"commits":["https://github.com/cure53/DOMPurify/commit/4e8af7b2c4a159b683d317e02c5cbddb86dc4a0e","https://github.com/cure53/DOMPurify/commit/d1dd0374caef2b4c56c3bd09fe1988c3479166dc"],"basis":"shared function","functions":["createDOMPurify"]}]},{"from":"CVE-2020-26870","to":"CVE-2024-48910","relation":"related","confidence":"medium","kind":"lineage","evidence":[{"kind":"same-code","provenance":"machine","files":["dist/purify.es.js","dist/purify.es.js.map"],"commits":["https://github.com/cure53/DOMPurify/commit/02724b8eb048dd219d6725b05c3000936f11d62d","https://github.com/cure53/DOMPurify/commit/d1dd0374caef2b4c56c3bd09fe1988c3479166dc"],"basis":"shared function","functions":["createDOMPurify"]}]},{"from":"CVE-2024-45801","to":"CVE-2024-48910","relation":"related","confidence":"medium","kind":"lineage","evidence":[{"kind":"same-code","provenance":"machine","files":["dist/purify.es.js","dist/purify.es.js.map","src/utils.js"],"commits":["https://github.com/cure53/DOMPurify/commit/1e520262bf4c66b5efda49e2316d6d1246ca7b21","https://github.com/cure53/DOMPurify/commit/26e1d69ca7f769f5c558619d644d90dd8bf26ebc","https://github.com/cure53/DOMPurify/commit/d1dd0374caef2b4c56c3bd09fe1988c3479166dc"],"basis":"shared function","functions":["createDOMPurify"]}]},{"from":"CVE-2024-47875","to":"CVE-2024-48910","relation":"related","confidence":"medium","kind":"lineage","evidence":[{"kind":"same-code","provenance":"machine","files":["dist/purify.es.js","dist/purify.es.js.map"],"commits":["https://github.com/cure53/DOMPurify/commit/0ef5e537a514f904b6aa1d7ad9e749e365d7185f","https://github.com/cure53/DOMPurify/commit/6ea80cd8b47640c20f2f230c7920b1f4ce4fdf7a","https://github.com/cure53/DOMPurify/commit/d1dd0374caef2b4c56c3bd09fe1988c3479166dc"],"basis":"shared function","functions":["createDOMPurify"]}]}]}}