CVE-2026-49978

DOMPurify is a DOM-only cross-site scripting sanitizer for HTML, MathML, and SVG. Prior to 3.4.7, DOMPurify IN_PLACE sanitization could skip shadow contents attached to an element inside <template>.content, allowing attacker-controlled markup such as event handlers, JavaScript URLs, or scripts to survive and execute when an application cloned and inserted the sanitized template. This issue is fixed in version 3.4.7.
Configurations

Configuration 1 (hide)

cpe:2.3:a:cure53:dompurify:*:*:*:*:*:*:*:*

History

24 Oct 2026, 21:10

Type Values Removed Values Added
Summary
  • (es) DOMPurify es un saneador de cross-site scripting exclusivo para DOM para HTML, MathML y SVG. Antes de la versión 3.4.7, el saneamiento IN_PLACE de DOMPurify podría omitir el contenido en la sombra adjunto a un elemento dentro de [template].content, permitiendo que el marcado controlado por el atacante, como controladores de eventos, URLs de JavaScript o scripts, sobreviviera y se ejecutara cuando una aplicación clonaba e insertaba la plantilla saneada. Este problema está solucionado en la versión 3.4.7.

Information

Published : 2026-07-14 21:17

Updated : 2026-10-24 21:10


NVD link : CVE-2026-49978

Mitre link : CVE-2026-49978

CVE.ORG link : CVE-2026-49978


JSON object : View

Products Affected

cure53

  • dompurify
CWE
CWE-79

Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')