REDHAT-BUG-2500564: XSS

Published Jul 14, 2026
·
Updated

DOMPurify is a DOM-only cross-site scripting sanitizer for HTML, MathML, and SVG. In 3.4.4, DOMPurify allowed selectedcontent by default, allowing browsers to re-clone an XSS payload after sanitization so that unsanitized markup inside <selectedcontent> is returned. This issue is fixed in version 3.4.5.

Affected Software

1 affected component
Cure53 DOMPurify=3.4.4

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

Event History

Jul 14, 2026
Data Sourced
via Red Hat·08:02 PM
DescriptionSeverityAffected Software

Frequently Asked Questions

1

Which DOMPurify configurations are affected?

Version 3.4.4 is affected because selectedcontent is allowed by default. Sanitization involving markup that contains a <selectedcontent> element can return unsanitized content when the browser re-clones the payload.

2

What does an attacker need to exploit this issue?

An attacker needs a way to supply HTML, MathML, or SVG markup that is processed by DOMPurify. The exploit relies on placing an XSS payload inside <selectedcontent> so it is re-cloned after sanitization.

3

What should be done to remediate the issue?

Update DOMPurify to version 3.4.5, which fixes the issue.

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