VYPR
Medium severity6.1GHSA Advisory· Published Jul 14, 2026· Updated Jul 21, 2026

CVE-2026-49978

CVE-2026-49978

Description

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 .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.

AI Insight

LLM-synthesized narrative grounded in this CVE's description and references.

Affected packages

Versions sourced from the GitHub Security Advisory.

PackageAffected versionsPatched versions
dompurifynpm
< 3.4.73.4.7

Affected products

32

Patches

Vulnerability mechanics

References

4

News mentions

0

No linked articles in our index yet.