{ "schema_version": "1.4.0", "id": "GHSA-vhxf-7vqr-mrjg", "modified": "2025-06-30T14:24:13Z", "published": "2025-02-14T09:31:22Z", "aliases": [ "CVE-2025-26791" ], "summary": "DOMPurify allows Cross-site Scripting (XSS)", "details": "DOMPurify before 3.2.4 has an incorrect template literal regular expression when SAFE_FOR_TEMPLATES is set to true, sometimes leading to mutation cross-site scripting (mXSS).", "severity": [ { "type": "CVSS_V3", "score": "CVSS:3.1/AV:L/AC:H/PR:N/UI:N/S:C/C:L/I:L/A:N" } ], "affected": [ { "package": { "ecosystem": "npm", "name": "dompurify" }, "ranges": [ { "type": "ECOSYSTEM", "events": [ { "introduced": "0" }, { "fixed": "3.2.4" } ] } ] } ], "references": [ { "type": "ADVISORY", "url": "https://nvd.nist.gov/vuln/detail/CVE-2025-26791" }, { "type": "WEB", "url": "https://github.com/cure53/DOMPurify/commit/d18ffcb554e0001748865da03ac75dd7829f0f02" }, { "type": "WEB", "url": "https://ensy.zip/posts/dompurify-323-bypass" }, { "type": "PACKAGE", "url": "https://github.com/cure53/DOMPurify" }, { "type": "WEB", "url": "https://github.com/cure53/DOMPurify/releases/tag/3.2.4" }, { "type": "WEB", "url": "https://nsysean.github.io/posts/dompurify-323-bypass" } ], "database_specific": { "cwe_ids": [ "CWE-79" ], "severity": "MODERATE", "github_reviewed": true, "github_reviewed_at": "2025-02-14T18:05:08Z", "nvd_published_at": "2025-02-14T09:15:08Z" } }