REDHAT-BUG-2500695: High severity DOMPurify DOMPurify vulnerability

Published Jul 14, 2026
·
Updated

DOMPurify is a DOM-only cross-site scripting sanitizer for HTML, MathML, and SVG. Prior to 3.4.7, DOMPurify INPLACE 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.

Affected Software

1 affected component
DOMPurify DOMPurify<3.4.7

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade DOMPurify to a version that resolves this vulnerability.

    Fixed in 3.4.7

Event History

Jul 14, 2026
Data Sourced
via Red Hat·09:05 PM
DescriptionSeverityAffected Software
Free Weekly Intel

Don't miss critical vulnerabilities

Join thousands of security professionals who receive our weekly digest of trending CVEs, zero-days, and exploited vulnerabilities.

No spam. Unsubscribe anytime.

Frequently Asked Questions

1

What is the severity of REDHAT-BUG-2500695?

The severity of REDHAT-BUG-2500695 is classified as high with a score of 7.

2

What does REDHAT-BUG-2500695 affect?

REDHAT-BUG-2500695 affects DOMPurify versions prior to 3.4.7.

3

How does REDHAT-BUG-2500695 exploit vulnerabilities?

REDHAT-BUG-2500695 allows attackers to inject malicious markup through unhandled shadow contents in template elements.

4

How do I fix REDHAT-BUG-2500695?

To fix REDHAT-BUG-2500695, upgrade DOMPurify to version 3.4.7 or later.

5

What are the risks associated with REDHAT-BUG-2500695?

The risks associated with REDHAT-BUG-2500695 include cross-site scripting (XSS) vulnerabilities due to improper sanitization.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203