CVE-2021-23980

Summary

CVECVE-2021-23980
StatePUBLIC
Assigner[email protected]
Source PriorityCVE Program / NVD first with legacy fallback
Published2023-02-16 22:15:00 UTC
Updated2023-02-27 15:19:00 UTC
DescriptionA 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.

Risk And Classification

Problem Types: CWE-79

NVD Known Affected Configurations (CPE 2.3)

TypeVendorProductVersionUpdateEditionLanguage
Application Mozilla Bleach All All All All

References

ReferenceSourceLinkTags
1689399 - (CVE-2021-23980) mXSS in Mozilla-bleach with p tag MISC bugzilla.mozilla.org
mutation XSS via allowed math or svg, p, and style tags with strip_comments=False · Advisory · mozilla/bleach · GitHub MISC github.com
CVE Program record CVE.ORG www.cve.org canonical
NVD vulnerability detail NVD nvd.nist.gov canonical, analysis

Legacy QID Mappings

  • 178537 Debian Security Update for python-bleach (DLA 2620-1)
  • 178556 Debian Security Update for python-bleach (DSA 4892-1)
  • 179873 Debian Security Update for python-bleach (CVE-2021-23980)
  • 502166 Alpine Linux Security Update for py3-bleach
  • 750269 OpenSUSE Security Update for python-bleach (openSUSE-SU-2021:0552-1)
  • 980644 Python (pip) Security Update for bleach (GHSA-vv2x-vrpj-qqpq)
© CVE.report 2026 |

Use of this information constitutes acceptance for use in an AS IS condition. There are NO warranties, implied or otherwise, with regard to this information or its use. Any use of this information is at the user's risk. It is the responsibility of user to evaluate the accuracy, completeness or usefulness of any information, opinion, advice or other content. EACH USER WILL BE SOLELY RESPONSIBLE FOR ANY consequences of his or her direct or indirect use of this web site. ALL WARRANTIES OF ANY KIND ARE EXPRESSLY DISCLAIMED. This site will NOT BE LIABLE FOR ANY DIRECT, INDIRECT or any other kind of loss.

CVE, CWE, and OVAL are registred trademarks of The MITRE Corporation and the authoritative source of CVE content is MITRE's CVE web site. This site includes MITRE data granted under the following license.

CVE.report and Source URL Uptime Status status.cve.report