CVE-2025-26791
Cure53 Dompurify vulnerability
DOMPurify before 3.2.4 has an incorrect template literal regular expression, sometimes leading to mutation cross-site scripting (mXSS).
Affected products
Dompurify. The exact versions are in the references.
What to do now
- Check your exposureFind out whether Cure53 Dompurify runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Set the orderSystems that can be reached from the internet come first, then the rest.
References
- github.com/cure53/DOMPurify/commit/d18ffcb554e0001748865da03ac75dd7829f0f02 · Patch
- ensy.zip/posts/dompurify-323-bypass/ · Exploit
- nsysean.github.io/posts/dompurify-323-bypass/ · Exploit
- github.com/cure53/DOMPurify/releases/tag/3.2.4
- nvd.nist.gov/vuln/detail/CVE-2025-26791
- ensy.zip/posts/dompurify-323-bypass
- nsysean.github.io/posts/dompurify-323-bypass
- github.com/advisories/GHSA-vhxf-7vqr-mrjg
- nvd.nist.gov/vuln/detail/CVE-2025-26791
- cve.org/CVERecord?id=CVE-2025-26791
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.