CVE-2025-26791

MEDIUM4.5EPSS 0.11%

DOMPurify allows Cross-site Scripting (XSS)

Published: 2/14/2025Modified: 2/4/2026
Also known as:GHSA-vhxf-7vqr-mrjgCGA-jvw3-vq6q-h2q7

Description

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 packages (2)

CVSS scores

SourceVersionSeverityVector
osvCVSS 3.1MEDIUM4.5CVSS:3.1/AV:L/AC:H/PR:N/UI:N/S:C/C:L/I:L/A:N

References (7)