\n\n\n
\n\n\n\n\n```\n\n### Expected result\n\n```\ncontrol: 
\ncandidate: \">\nafter connectedCallback: \ncontrol fired: false\ncandidate fired: true\n```\n\nThis is output of HTML PoC.\n\n\"poc\"\n\n\n## Impact\n\nThis does not appear to affect DOMPurify’s default configuration as a direct sanitizer bypass.\n\nThe impact is limited to applications that:\n\n- enable `CUSTOM_ELEMENT_HANDLING`,\n- rely on `afterSanitizeElements` as a security policy layer,\n- expect that hook to apply uniformly to all surviving elements,\n- and have allowed custom elements that later re-inject preserved attribute values into `innerHTML` or another HTML sink.\n\nIn that situation, the behavior can become a second-order XSS gadget because a security-relevant attribute is removed from normal elements but remains on allowed custom elements.\n\nPossible fixes or mitigations might include\n\n- ensuring that allowed custom elements also consistently pass through `afterSanitizeElements`\n- documenting clearly that elements preserved via `CUSTOM_ELEMENT_HANDLING` may not participate in the same post-element hook flow as normal allowlisted elements.","datePublished":"2026-07-21","dateModified":"2026-10-02","author":{"@type":"Organization","name":"Safeguard"},"url":"https://gold.safeguard.sh/vulnerability/CVE-2026-66010","about":{"@type":"Thing","name":"CVE-2026-66010","additionalProperty":[{"@type":"PropertyValue","name":"severity","value":"low"},{"@type":"PropertyValue","name":"cvss","value":"2.1"},{"@type":"PropertyValue","name":"fixedVersion","value":"3.4.12"}]}}

Loading vulnerability details...