~ / search / GHSA-vhxf-7vqr-mrjg

GHSA-vhxf-7vqr-mrjg

DOMPurify allows Cross-site Scripting (XSS)

Source: GitHub Advisory Database (reviewed) Moderate CVE-2025-26791

Packages

EcosystemPackageAffectedFixed in
npm dompurify < 3.2.4 3.2.4

Details

As written in the advisory (Markdown source, shown as plain 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).

References

External links from the advisory. They lead to third-party sites.