CVEvulnerability
CVE-2021-23980
6.1 MEDIUM
Official page ↗
- Status
- Modified
- Published
- 2023-02-16
- Last modified
- 2026-06-17
- Assigner
- [email protected]
- CVSS 3.1 ([email protected])
- 6.1 MEDIUM — CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
- CVSS 3.1 (134c704f-9b21-4f2e-91b3-4a467353bcc0)
- 6.1 MEDIUM — CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
- Weaknesses
- CWE-79
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 configurations
• mozilla bleach (< 3.3.0)
Related
Weakness · CWE (1)
- CWE-79 Improper Neutralization of Input During Web Page Generation weakness
References
- https://bugzilla.mozilla.org/show_bug.cgi?id=CVE-2021-23980 Exploit, Issue Tracking
- https://github.com/mozilla/bleach/security/advisories/GHSA-vv2x-vrpj-qqpq Vendor Advisory
- https://bugzilla.mozilla.org/show_bug.cgi?id=CVE-2021-23980 Exploit, Issue Tracking
- https://github.com/mozilla/bleach/security/advisories/GHSA-vv2x-vrpj-qqpq Vendor Advisory