NewApp Monitoring is liveSign up free
AgentbeamBeta
Open-source package vulnerability · npm

CVE-2024-47875: DOMpurify has a nesting-based mXSS

highCVSS 4.0 7.9 · 3.1 10.0GHSA-gx9m-whjm-85jf

DOMpurify was vulnerable to nesting-based mXSS fixed by 0ef5e537 (2.x) and merge 943 Backporter should be aware of GHSA-mmhx-hmjr-r674 (CVE-2024-45801) when cherry-picking POC is avaible under test

Published Oct 11, 2024 · Updated Nov 3, 2025

Affected packages

dompurify

Ecosystem
npm
Affected
< 2.5.0
Fixed in
2.5.0
Check
npm ls dompurify

dompurify

Ecosystem
npm
Affected
>= 3.0.0, < 3.1.3
Fixed in
3.1.3
Check
npm ls dompurify

Advisory details

From the GitHub Advisory Database (CC BY 4.0).

DOMpurify was vulnerable to nesting-based mXSS

fixed by 0ef5e537 (2.x) and merge 943

Backporter should be aware of GHSA-mmhx-hmjr-r674 (CVE-2024-45801) when cherry-picking

POC is avaible under test

Credited to bastien-roucaries, eslerm.

References

How this page is made: the data panel comes from the GitHub Advisory Database, CISA’s KEV catalog, the NVD and FIRST EPSS, and updates twice a day. No analysis has been written for this entry yet. Methodology

More npm vulnerabilities

All npm entries