cve/2024/CVE-2024-47875.md
2025-09-29 16:08:36 +00:00

19 lines
887 B
Markdown

### [CVE-2024-47875](https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2024-47875)
![](https://img.shields.io/static/v1?label=Product&message=DOMPurify&color=blue)
![](https://img.shields.io/static/v1?label=Version&message=%3D%20%3C%202.5.0%20&color=brighgreen)
![](https://img.shields.io/static/v1?label=Vulnerability&message=CWE-79%3A%20Improper%20Neutralization%20of%20Input%20During%20Web%20Page%20Generation%20('Cross-site%20Scripting')&color=brighgreen)
### 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.
### POC
#### Reference
- https://github.com/cure53/DOMPurify/security/advisories/GHSA-gx9m-whjm-85jf
#### Github
- https://github.com/roj1py/CVE-2024-47875-PhpSpreadsheet-XSS-PoC
- https://github.com/zulloper/cve-poc