CVE-2021-23980

Source
https://nvd.nist.gov/vuln/detail/CVE-2021-23980
Import Source
https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2021-23980.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2021-23980
Aliases
Related
Published
2023-02-16T22:15:10Z
Modified
2024-10-12T06:59:33.735742Z
Severity
  • 6.1 (Medium) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N CVSS Calculator
Summary
[none]
Details

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 stripcomments=False Note: none of the above tags are in the default allowed tags and stripcomments defaults to True.

References

Affected packages

Debian:11 / python-bleach

Package

Name
python-bleach
Purl
pkg:deb/debian/python-bleach?arch=source

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
3.2.1-2.1

Ecosystem specific

{
    "urgency": "not yet assigned"
}

Debian:12 / python-bleach

Package

Name
python-bleach
Purl
pkg:deb/debian/python-bleach?arch=source

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
3.2.1-2.1

Ecosystem specific

{
    "urgency": "not yet assigned"
}

Debian:13 / python-bleach

Package

Name
python-bleach
Purl
pkg:deb/debian/python-bleach?arch=source

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
3.2.1-2.1

Ecosystem specific

{
    "urgency": "not yet assigned"
}

Git / github.com/mozilla/bleach

Affected ranges

Type
GIT
Repo
https://github.com/mozilla/bleach
Events
Introduced
0 Unknown introduced commit / All previous commits are affected
Fixed

Affected versions

0.*

0.1.2
0.2.0
0.2.1
0.2.2
0.3.0
0.3.1
0.3.2
0.3.3
0.3.4
0.3.5
0.4.0
0.5.0

1.*

1.0.0
1.0.0rc
1.0.0rc2
1.0.1
1.0.2
1.0.3

v1.*

v1.0.4
v1.1.0
v1.1.1
v1.2.1
v1.2.2
v1.4
v1.4.1
v1.4.2
v1.5

v2.*

v2.0
v2.1
v2.1.1
v2.1.2
v2.1.3
v2.1.4

v3.*

v3.0.0
v3.0.1
v3.0.2
v3.1.0
v3.1.1
v3.1.2
v3.1.3
v3.1.4
v3.1.5
v3.2.0
v3.2.1
v3.2.2
v3.2.3