Back

MEDIUM

python-bleach: Mutation cross-site scripting in bleach.clean

Published Feb 16, 2023

Description

A mutation XSS affects users calling bleach.clean with all of: svg or math in the allowed tags p or br in allowed tags style, title, noscript, script, textarea, noframes, iframe, or xmp in allowed tags the keyword argument strip_comments=False Note: none of the above tags are in the default allowed tags and strip_comments defaults to True.

Affected products

Remediation

No remediation recorded yet.

References (14)

Change history (0)

No recorded changes yet.

Sources
CVE.org / MITRE
Status PUBLISHED
Assigner mozilla
Published Feb 16, 2023
Updated Mar 19, 2025
Reserved Jan 13, 2021
CISA Vulnrichment
Updated Mar 19, 2025
NVD
Status Modified
Modified Jun 17, 2026
Red Hat
Severity Moderate
Public date Feb 2, 2021
GHSA-VV2X-VRPJ-QQPQ