GHSA-vhxf-7vqr-mrjg

DOMPurify allows Cross-site Scripting (XSS)

At a glance

Published
Updated
CVE
CVE-2025-26791
CVSS_V3
CVSS:3.1/AV:L/AC:H/PR:N/UI:N/S:C/C:L/I:L/A:N

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

PackageVersions
npm · dompurifyintroduced 0, fixed 3.2.4

References

Sources

SourceLicence
OSV.devCC-BY 4.0 — GitHub Advisory Database