Vulnerabilities
Vulnerable Software
Cure53:  >> Dompurify  >> 3.4.10  Security Vulnerabilities
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.
CVSS Score
5.1
EPSS Score
0.002
Published
2026-07-24
DOMPurify before 3.4.11 fails to clone the ALLOWED_ATTR allowlist when setConfig() is used with an uponSanitizeAttribute hook, allowing the hook to permanently mutate the shared allowlist. Attackers can register a hook that conditionally allows dangerous attributes like onerror for trusted elements, then submit untrusted content that inherits the polluted allowlist and executes event handlers as stored XSS.
CVSS Score
5.1
EPSS Score
0.002
Published
2026-07-23


Contact Us

Shodan ® - All rights reserved