NetSight
critical10.0

CVE-2024-47875

DOMpurify has a nesting-based mXSS

Impact

DOMpurify was vulnerable to nesting-based mXSS fixed by [0ef5e537](https://github.com/cure53/DOMPurify/tree/0ef5e537a514f904b6aa1d7ad9e749e365d7185f) (2.x) and [merge 943](https://github.com/cure53/DOMPurify/pull/943) Backporter should be aware of GHSA-mmhx-hmjr-r674 (CVE-2024-45801) when cherry-picking POC is avaible under [test](https://github.com/cure53/DOMPurify/blob/0ef5e537a514f904b6aa1d7ad9e749e365d7185f/test/test-suite.js#L2098)

Affected packages

EcosystemPackageAffectedFixed in
npmdompurify< 2.5.02.5.0

Affected products

VendorProductAffected versions
Cure53Dompurify
before 2.5.0
from 3.0.0 before 3.1.3

Weakness classification

References