CVE-2021-23980

Aliases:GHSA-vv2x-vrpj-qqpqPYSEC-2021-865
Modified
Published: 16 Feb 2023, 00:00
Last modified:19 Mar 2025, 15:18

Vulnerability Summary

Overall Risk (default)
medium
34/100
CVSS Score
6.1 MEDIUM
v3.1 (cve.org)
EPSS Score
0.49% LOW
0% probability +0.09%
KEV
Not listed
Ransomware
No reports
Public exploits
1 found
Dark Web
Not detected

Timeline

16 Feb 2023, 00:00
Published
Vulnerability first disclosed
19 Mar 2025, 15:18
Last Modified
Vulnerability information updated

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.

CVSS Metrics

  • v4.0MEDIUMScore: 6.9CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:N/SC:L/SI:L/SA:N
  • v3.1MEDIUMScore: 6.1CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N

EPSS Trends

Current EPSS score: 0.49% Percentile: 66%

Techniques & Countermeasures

  • CWE-79Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')

    The product does not neutralize or incorrectly neutralizes user-controllable input before it is placed in output that is used as a web page that is served to other users.

Affected Systems

  • mozillableach

    < 3.3.0

  • mozillamozilla bleach

    ≥ unspecified, < 3.3.0

  • PyPIbleach

    < 79b7a3c5e56a09d1d323a5006afa59b56162eb13 | < 3.3.0

References (12)