CSIRTS // UNIFIED SECURITY ADVISORY FEEDSYS ● ONLINE · POWERED BY INTELFUSIONS.COM

CVE-2026-65912

mediumCVSS 6.1covered by 2 sourcesfirst seen 2026-04-03
Summary DOMPurify allows ADD_ATTR to be provided as a predicate function via EXTRA_ELEMENT_HANDLING.attributeCheck. When the predicate returns true, _isValidAttribute short-circuits the attribute check before URI-safe validation runs. An attacker who supplies a predicate that accepts specific attribute/tag combinations can then sanitize input such as <a href="javascript:alert(document.domain)"> and have the javascript: URL survive, because URI validation is skipped for that attribute while other checks still pass. The provided PoC accepts href for anchors and then triggers a click inside an iframe, showing that the sanitized payload executes despite the protocol bypass. Impact Predicate-based allowlisting bypasses DOMPurify's URI validation, allowing unsafe protocols such as javascript: to reach the DOM and execute whenever the link is activated, resulting in DOM-based XSS. Credits Identified by Cantina’s Apex (https://www.cantina.security).

⚡ Watch CVE-2026-65912

Get an email if CVE-2026-65912 is added to CISA KEV, gains public exploit code, or a new advisory cites it — max one per day, one-click unsubscribe.

Exploitation outlook

Advisory coverage (2)

External references

NVD record for CVE-2026-65912

CVE.org record

Embed the live status

CVE-2026-65912 live status badge — this badge updates automatically when the KEV or exploit status changes. How to embed it →

[![CVE-2026-65912 status](https://www.csirts.com/badge/CVE-2026-65912)](https://www.csirts.com/cve/CVE-2026-65912)