{"schemaVersion":3,"id":"CVE-2024-47875","aliases":["UBUNTU-CVE-2024-47875","DEBIAN-CVE-2024-47875","DSA-5790-1","CGA-cx2m-q88g-6cg5","CGA-q25q-cvfg-wph4","GHSA-gx9m-whjm-85jf","CGA-27xx-6w8x-hmcj","CGA-g333-jwqv-25wx"],"status":"published","duplicateOf":null,"title":null,"description":"DOMPurify is a DOM-only, super-fast, uber-tolerant XSS sanitizer for HTML, MathML and SVG. DOMpurify was vulnerable to nesting-based mXSS. This vulnerability is fixed in 2.5.0 and 3.1.3.","dates":{"published":"2024-10-11T14:59:27.641Z","modified":"2025-11-03T20:40:56.817Z","reserved":null,"kevAdded":[],"kevDue":[]},"cvss":{"headline":{"score":10,"severity":"critical","version":"3.1","versionLabel":"v3.1","source":"CVE.org","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:L/I:H/A:H","computed":false,"selection":"backend-summary"},"metrics":[{"version":"3.1","versionLabel":"v3.1","source":"CVE.org","score":10,"severity":"critical","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:L/I:H/A:H","exploitability":null,"impact":null,"computed":false},{"version":"3.1","versionLabel":"v3.1","source":"OSV · Ubuntu","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","exploitability":7.2,"impact":4.5,"computed":true},{"version":"3.1","versionLabel":"v3.1","source":"OSV · Debian","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","exploitability":7.2,"impact":4.5,"computed":true},{"version":"3.1","versionLabel":"v3.1","source":"OSV · Wolfi","score":10,"severity":"critical","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:L/I:H/A:H","exploitability":10,"impact":10,"computed":true},{"version":"4.0","versionLabel":"v4.0","source":"OSV · Npm","score":7.9,"severity":"high","vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:N/SC:L/SI:H/SA:H","exploitability":null,"impact":null,"computed":true},{"version":"3.1","versionLabel":"v3.1","source":"OSV · Npm","score":10,"severity":"critical","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:L/I:H/A:H","exploitability":10,"impact":10,"computed":true},{"version":"3.1","versionLabel":"v3.1","source":"OSV · Chainguard","score":10,"severity":"critical","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:L/I:H/A:H","exploitability":10,"impact":10,"computed":true},{"version":"3.1","versionLabel":"v3.1","source":"NVD","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","exploitability":null,"impact":null,"computed":false}]},"epss":{"probability":0.01134,"percentile":0.6598,"severity":"low","asOf":"2026-10-19T00:00:00.000Z","change":{"pp":0,"baselineDate":"2026-09-19T00:00:00.000Z","baselineScore":0.01134},"history":[{"date":"2026-09-14T00:00:00.000Z","score":0.0107,"percentile":null},{"date":"2026-09-15T00:00:00.000Z","score":0.0107,"percentile":null},{"date":"2026-09-16T00:00:00.000Z","score":0.0107,"percentile":null},{"date":"2026-09-17T00:00:00.000Z","score":0.0107,"percentile":null},{"date":"2026-09-18T00:00:00.000Z","score":0.0107,"percentile":null},{"date":"2026-09-19T00:00:00.000Z","score":0.01134,"percentile":null},{"date":"2026-09-20T00:00:00.000Z","score":0.01134,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.01134,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.01134,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.01134,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.01134,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.01134,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.01134,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.01134,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.01134,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.01134,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.01134,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.01134,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.01134,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.01134,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.01134,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.01134,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.01134,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.01134,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.01134,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.01134,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.01134,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.01134,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.01134,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.01134,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.01134,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.01134,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.01134,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.01134,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.01134,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.01134,"percentile":0.6598}],"last30":[{"date":"2026-09-19T00:00:00.000Z","score":0.01134,"percentile":null},{"date":"2026-09-20T00:00:00.000Z","score":0.01134,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.01134,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.01134,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.01134,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.01134,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.01134,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.01134,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.01134,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.01134,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.01134,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.01134,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.01134,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.01134,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.01134,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.01134,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.01134,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.01134,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.01134,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.01134,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.01134,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.01134,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.01134,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.01134,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.01134,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.01134,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.01134,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.01134,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.01134,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.01134,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.01134,"percentile":0.6598}]},"kev":{"state":"not-listed","entries":[],"listedCount":0,"totalCatalogs":3,"catalogs":[{"source":"cisa","label":"CISA","listed":false,"entry":null},{"source":"enisa","label":"ENISA","listed":false,"entry":null},{"source":"circl","label":"CIRCL","listed":false,"entry":null}]},"ransomware":{"state":"none-recorded","sources":[]},"exploits":[{"id":"GITHUB_CURE53_DOMPURIFY","name":"Dompurify","source":"github","url":"https://github.com/cure53/DOMPurify/security/advisories/GHSA-gx9m-whjm-85jf","maturity":"poc","reliabilityScore":0.3,"verified":false,"type":null,"platforms":[],"requiresAuth":null,"exploitdb":null,"metasploit":null}],"exploitCount":1,"weaknesses":[{"id":"CWE-79","name":"Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')","description":"The product does not neutralize or incorrectly neutralizes user-controllable input before it is placed in output that is used as a web page that is served to other users.","type":"weakness","status":"Stable","abstraction":"Base","likelihoodOfExploit":"High","url":"https://cwe.mitre.org/data/definitions/79.html"}],"affected":[{"vendor":"chainguard","product":"argo-workflows","name":"argo-workflows","label":"argo-workflows","ecosystem":"Chainguard","cpePart":null,"purl":"pkg:apk/chainguard/argo-workflows","purlType":"apk","versions":[{"text":"< 3.6.0-r0","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 3.6.0-r0","eol":{"isEol":null,"eolDate":null,"matchMethod":"name_exact","cycle":null,"product":{"name":"argo-workflows","label":"Argo Workflows","category":"server-app"}},"hubHref":null},{"vendor":"chainguard","product":"opensearch-dashboards-2-fips","name":"opensearch-dashboards-2-fips","label":"opensearch-dashboards-2-fips","ecosystem":"Chainguard","cpePart":null,"purl":"pkg:apk/chainguard/opensearch-dashboards-2-fips","purlType":"apk","versions":[{"text":"< 2.17.1-r0","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 2.17.1-r0","eol":null,"hubHref":null},{"vendor":"wolfi","product":"argo-workflows","name":"argo-workflows","label":"argo-workflows","ecosystem":"Wolfi","cpePart":null,"purl":"pkg:apk/wolfi/argo-workflows","purlType":"apk","versions":[{"text":"< 3.6.0-r0","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 3.6.0-r0","eol":{"isEol":null,"eolDate":null,"matchMethod":"name_exact","cycle":null,"product":{"name":"argo-workflows","label":"Argo Workflows","category":"server-app"}},"hubHref":null},{"vendor":"cure53","product":"dompurify","name":"DOMPurify","label":"dompurify","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"< 3.1.3","noFixRecorded":false,"fixedIn":null},{"text":"< 2.5.0","noFixRecorded":false,"fixedIn":null},{"text":"≥ 3.0.0, < 3.1.3","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 3.1.3 | < 2.5.0 | ≥ 3.0.0, < 3.1.3","eol":null,"hubHref":"/vendor/cure53/dompurify"},{"vendor":"debian","product":"cacti","name":"cacti","label":"cacti","ecosystem":"Debian","cpePart":null,"purl":"pkg:deb/debian/cacti","purlType":"deb","versions":[{"text":"< 1.2.24+ds1-1+deb12u2","noFixRecorded":false,"fixedIn":null},{"text":"< 1.2.26+ds1-1","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 1.2.24+ds1-1+deb12u2 | < 1.2.26+ds1-1","eol":null,"hubHref":null},{"vendor":"debian","product":"node-dompurify","name":"node-dompurify","label":"node-dompurify","ecosystem":"Debian","cpePart":null,"purl":"pkg:deb/debian/node-dompurify","purlType":"deb","versions":[{"text":"< 3.1.6+dfsg+~3.0.5-1","noFixRecorded":false,"fixedIn":null},{"text":"< 2.4.1+dfsg+~2.4.0-2","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 3.1.6+dfsg+~3.0.5-1 | < 2.4.1+dfsg+~2.4.0-2","eol":null,"hubHref":null},{"vendor":"ubuntu","product":"node-dompurify","name":"node-dompurify","label":"node-dompurify","ecosystem":"Ubuntu","cpePart":null,"purl":"pkg:deb/ubuntu/node-dompurify","purlType":"deb","versions":[{"text":"All versions","noFixRecorded":true,"fixedIn":null}],"versionsText":"All versions (No fix recorded)","eol":null,"hubHref":null},{"vendor":"Npm","product":"dompurify","name":"dompurify","label":"dompurify","ecosystem":"Npm","cpePart":null,"purl":"pkg:npm/dompurify","purlType":"npm","versions":[{"text":"< 2.5.0","noFixRecorded":false,"fixedIn":null},{"text":"≥ 3.0.0, < 3.1.3","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 2.5.0 | ≥ 3.0.0, < 3.1.3","eol":null,"hubHref":null}],"affectedCount":8,"eol":{"hasEol":false,"count":0},"references":[{"url":"https://github.com/cure53/DOMPurify/security/advisories/GHSA-gx9m-whjm-85jf","label":"github.com/cure53/DOMPurify/security/advisories/GHSA-gx9m-whjm-85jf","hostname":"github.com","tags":["X Refsource CONFIRM","REPORT","Advisory","WEB","Exploit","Third Party Advisory"]},{"url":"https://github.com/cure53/DOMPurify/commit/0ef5e537a514f904b6aa1d7ad9e749e365d7185f","label":"github.com/cure53/DOMPurify/commit/0ef5e537a514f904b6aa1d7ad9e749e365d7185f","hostname":"github.com","tags":["X Refsource MISC","REPORT","FIX","WEB","Patch"]},{"url":"https://github.com/cure53/DOMPurify/commit/6ea80cd8b47640c20f2f230c7920b1f4ce4fdf7a","label":"github.com/cure53/DOMPurify/commit/6ea80cd8b47640c20f2f230c7920b1f4ce4fdf7a","hostname":"github.com","tags":["X Refsource MISC","REPORT","FIX","WEB","Patch"]},{"url":"https://github.com/cure53/DOMPurify/blob/0ef5e537a514f904b6aa1d7ad9e749e365d7185f/test/test-suite.js#L2098","label":"github.com/cure53/DOMPurify/blob/0ef5e537a514f904b6aa1d7ad9e749e365d7185f/test/test-suite.js","hostname":"github.com","tags":["X Refsource MISC","REPORT","WEB","Product"]},{"url":"http://seclists.org/fulldisclosure/2025/Apr/14","label":"seclists.org/fulldisclosure/2025/Apr/14","hostname":"seclists.org","tags":["WEB"]},{"url":"https://lists.debian.org/debian-lts-announce/2025/02/msg00010.html","label":"lists.debian.org/debian-lts-announce/2025/02/msg00010.html","hostname":"lists.debian.org","tags":["WEB"]},{"url":"https://ubuntu.com/security/CVE-2024-47875","label":"ubuntu.com/security/CVE-2024-47875","hostname":"ubuntu.com","tags":["REPORT"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2024-47875","label":"www.cve.org/CVERecord?id=CVE-2024-47875","hostname":"www.cve.org","tags":["REPORT"]},{"url":"https://security-tracker.debian.org/tracker/CVE-2024-47875","label":"security-tracker.debian.org/tracker/CVE-2024-47875","hostname":"security-tracker.debian.org","tags":["Advisory"]},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/47xxx/CVE-2024-47875.json","label":"github.com/CVEProject/cvelistV5/tree/main/cves/2024/47xxx/CVE-2024-47875.json","hostname":"github.com","tags":["Advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2024-47875","label":"nvd.nist.gov/vuln/detail/CVE-2024-47875","hostname":"nvd.nist.gov","tags":["Advisory"]},{"url":"https://github.com/cure53/DOMPurify","label":"github.com/cure53/DOMPurify","hostname":"github.com","tags":["PACKAGE"]}],"lineage":{"upstream":[],"downstream":["DLA-4048-1","OPENSUSE-SU-2025:14663-1","RHSA-2024:8327","RHSA-2024:8678","RHSA-2024:9473"],"duplicates":[],"related":["CGA-C8MW-2R5F-43QX","CGA-VWXQ-5H3Q-2FVP","OPENSUSE-SU-2025:14663-1"]},"timeline":[{"kind":"published","date":"2024-10-11T14:59:27.641Z","label":"Published","detail":"Vulnerability first disclosed.","source":null},{"kind":"modified","date":"2025-11-03T20:40:56.817Z","label":"Last modified","detail":"Vulnerability information updated.","source":null}],"risk":{"score":90,"level":"critical","profile":"Default","thresholds":{"critical":75,"high":50,"medium":25,"low":10}},"meta":{"dataAsOf":"2026-10-20T10:31:58.830Z","stale":false,"partial":false}}