CVE-2024-47875: DOMpurify has a nesting-based mXSS
(updated )
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
References
- github.com/advisories/GHSA-gx9m-whjm-85jf
- github.com/cure53/DOMPurify
- github.com/cure53/DOMPurify/blob/0ef5e537a514f904b6aa1d7ad9e749e365d7185f/test/test-suite.js
- github.com/cure53/DOMPurify/commit/0ef5e537a514f904b6aa1d7ad9e749e365d7185f
- github.com/cure53/DOMPurify/commit/6ea80cd8b47640c20f2f230c7920b1f4ce4fdf7a
- github.com/cure53/DOMPurify/security/advisories/GHSA-gx9m-whjm-85jf
- lists.debian.org/debian-lts-announce/2025/02/msg00010.html
- nvd.nist.gov/vuln/detail/CVE-2024-47875
Code Behaviors & Features
Detect and mitigate CVE-2024-47875 with GitLab Dependency Scanning
Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Dependency Scanning using SBOM also detects vulnerabilities from proprietary advisories that this site does not include. Learn more about Dependency Scanning using SBOM →