Security mailing lists by PureSourceCode

CVE-2021-23980

MEDIUM 6.1CVSS 3.1

Cross-site scripting in Bleach

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.

Published
16 Feb 2023
Last modified
8 Jul 2026
Assigned by
security@mozilla.org
NVD status
Modified
Weakness
CWE-79
Also known as
GHSA-vv2x-vrpj-qqpqPYSEC-2021-865
Sources
NVDJSONOSV GHSA-vv2x-vrpj-qqpqJSONOSV PYSEC-2021-865JSON

Scores

SourceScored byVersionScoreVector / decision
OSV GitHub CVSS 4.0 CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:N/SC:L/SI:L/SA:N
NVD nvd@nist.gov (Primary) CVSS 3.1 MEDIUM 6.1 CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
NVD 134c704f-9b21-4f2e-91b3-4a467353bcc0 (Secondary) CVSS 3.1 MEDIUM 6.1 CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
OSV GitHub CVSS 3.1 MEDIUM 6.1 CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N

Affected

SourceVendor / ecosystemProduct / packageAffected versionsFixed in
NVD mozilla bleach
cpe:2.3:a:mozilla:bleach:*:*:*:*:*:*:*:*
< 3.3.0 3.3.0
OSV PyPI bleach < 3.3.0 3.3.0

References

History

  • 25 Nov 2026 20:35 UTC · NVD: first stored (published 16 Feb 2023)
  • 25 Nov 2026 20:12 UTC · OSV: first stored (published 2 Feb 2021)
  • 25 Nov 2026 20:12 UTC · OSV: first stored (published 2 Feb 2021)
An unhandled error has occurred. Reload ×

Rejoining the server...

Rejoin failed... trying again in seconds.

Failed to rejoin.
Please retry or reload the page.

The session has been paused by the server.

Failed to resume the session.
Please retry or reload the page.