A AegiFlow
MEDIUMCVSS 5.1EPSS 0.3%

CVE-2026-66010

CVE-2026-66010 updated by NVD

Published
2026-07-21
Modified
2026-10-26
EPSS percentile
21%
Sources
github-advisory, nvd

Summary

DOMPurify before 3.4.12 fails to execute afterSanitizeElements hook for custom elements allowed via CUSTOM_ELEMENT_HANDLING.tagNameCheck, allowing attributes to bypass application security policies. Attackers can preserve sensitive attributes on custom elements that later re-inject them into innerHTML sinks, creating second-order XSS gadgets.

Affected packages

EcosystemPackageAffected versionsFixed versions
npmdompurify—3.4.12

Remediation: Upgrade to 3.4.12 or later.

References

Includes data from the GitHub Advisory Database, licensed under CC-BY 4.0.

Includes data from the National Vulnerability Database (NIST). NVD data is in the public domain; this page is not endorsed by NIST.

CVE® is a registered trademark of The MITRE Corporation. CVE content reproduced under the CVE Terms of Use; copyright designation © MITRE.

EPSS scores provided by the FIRST.org Exploit Prediction Scoring System.