{"schema_version":"1.9.0","id":"GHSA-vhxf-7vqr-mrjg","published":"2025-02-14T09:31:22Z","modified":"2026-09-10T03:50:06.152680854Z","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).","affected":[{"package":{"name":"dompurify","ecosystem":"npm","purl":"pkg:npm/dompurify"},"ranges":[{"type":"SEMVER","events":[{"introduced":"0"},{"fixed":"3.2.4"}]}],"database_specific":{"source":"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2025/02/GHSA-vhxf-7vqr-mrjg/GHSA-vhxf-7vqr-mrjg.json"}}],"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"],"github_reviewed":true,"github_reviewed_at":"2025-02-14T18:05:08Z","nvd_published_at":"2025-02-14T09:15:08Z","severity":"MODERATE"},"severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:L/AC:H/PR:N/UI:N/S:C/C:L/I:L/A:N"}]}