{"id":"CVE-2025-26791","aliases":["CVE-2025-26791","GHSA-vhxf-7vqr-mrjg"],"related":[],"kind":"vulnerability","state":"published","title":"DOMPurify allows Cross-site Scripting (XSS)","summary":"DOMPurify before 3.2.4 has an incorrect template literal regular expression, sometimes leading to mutation cross-site scripting (mXSS).","summarySource":"cvelist","descriptions":[{"lang":"en","text":"DOMPurify before 3.2.4 has an incorrect template literal regular expression, sometimes leading to mutation cross-site scripting (mXSS).","source":"cvelist"},{"lang":"en","text":"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).","format":"markdown","source":"ghsa"},{"lang":"es","text":"DOMPurify anterior a 3.2.4 tiene una expresión regular literal de plantilla incorrecta, lo que a veces provoca Cross Site Scripting (mXSS) de mutación.","source":"nvd"}],"published":"2025-02-14T00:00:00.000Z","modified":"2026-09-10T03:50:06.152Z","severity":{"scorer":"mitre","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:H/PR:N/UI:N/S:C/C:L/I:L/A:N","score":4.5,"rating":"MEDIUM"},"severities":[{"scorer":"mitre","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:H/PR:N/UI:N/S:C/C:L/I:L/A:N","score":4.5,"rating":"MEDIUM"},{"scorer":"GitHub","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:H/PR:N/UI:N/S:C/C:L/I:L/A:N","score":4.5,"rating":"MEDIUM"},{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N","score":6.1,"rating":"MEDIUM"}],"cwes":["CWE-79"],"affected":[{"ranges":[{"type":"semver","introduced":"0","fixed":"3.2.4","status":"affected"}],"vendor":"Cure53","product":"DOMPurify","source":"cvelist"},{"ranges":[{"type":"semver","introduced":"0","status":"affected","fixed":"3.2.4"}],"ecosystem":"npm","package":"dompurify","purl":"pkg:npm/dompurify","source":"ghsa"},{"ranges":[{"status":"affected","fixed":"3.2.4"}],"vendor":"cure53","product":"dompurify","cpe":"cpe:2.3:a:cure53:dompurify:*:*:*:*:*:*:*:*","source":"nvd"}],"references":[{"url":"https://github.com/cure53/DOMPurify/releases/tag/3.2.4","tags":["release-notes","web"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://github.com/cure53/DOMPurify/commit/d18ffcb554e0001748865da03ac75dd7829f0f02","tags":["patch","web"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://nsysean.github.io/posts/dompurify-323-bypass/","tags":["exploit","third-party-advisory"],"sources":["cvelist","nvd"]},{"url":"https://ensy.zip/posts/dompurify-323-bypass/","tags":["exploit","third-party-advisory"],"sources":["cvelist","nvd"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2025-26791","tags":["advisory"],"sources":["ghsa"]},{"url":"https://ensy.zip/posts/dompurify-323-bypass","tags":["web"],"sources":["ghsa"]},{"url":"https://github.com/cure53/DOMPurify","tags":["package"],"sources":["ghsa"]},{"url":"https://nsysean.github.io/posts/dompurify-323-bypass","tags":["web"],"sources":["ghsa"]}],"credits":[],"assigner":"mitre","ssvc":{"scorer":"CISA-ADP","exploitation":"poc","automatable":"no","technicalImpact":"partial","date":"2025-02-14T15:30:30.796Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2025-26791","url":"https://www.cve.org/CVERecord?id=CVE-2025-26791","licence":"CVE Terms of Use","modified":"2025-02-14T15:30:49.790Z"},{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-vhxf-7vqr-mrjg","url":"https://github.com/advisories/GHSA-vhxf-7vqr-mrjg","licence":"CC-BY-4.0","modified":"2026-09-10T03:50:06.152Z"},{"source":"nvd","name":"NVD","id":"CVE-2025-26791","url":"https://nvd.nist.gov/vuln/detail/CVE-2025-26791","licence":"Public domain","modified":"2026-06-17T09:02:26.640Z"}],"updatedAt":"2026-11-25T22:58:54.086Z","epss":{"score":0.00606,"percentile":0.50389,"date":"2026-12-01T12:00:22.000Z"}}