{"id":"ALPINE-CVE-2021-23980","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 strip_comments=False Note: none of the above tags are in the default allowed tags and strip_comments defaults to True.","modified":"2026-11-03T06:32:38.522215523Z","published":"2023-02-16T22:15:10.713Z","upstream":["CVE-2021-23980"],"references":[{"type":"ADVISORY","url":"https://security.alpinelinux.org/vuln/CVE-2021-23980"}],"affected":[{"package":{"name":"py3-bleach","ecosystem":"Alpine:v3.15","purl":"pkg:apk/alpine/py3-bleach?arch=source"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"3.3.0-r0"}]}],"ecosystem_specific":{},"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/alpine/ALPINE-CVE-2021-23980.json"}},{"package":{"name":"py3-bleach","ecosystem":"Alpine:v3.16","purl":"pkg:apk/alpine/py3-bleach?arch=source"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"3.3.0-r0"}]}],"ecosystem_specific":{},"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/alpine/ALPINE-CVE-2021-23980.json"}},{"package":{"name":"py3-bleach","ecosystem":"Alpine:v3.17","purl":"pkg:apk/alpine/py3-bleach?arch=source"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"3.3.0-r0"}]}],"ecosystem_specific":{},"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/alpine/ALPINE-CVE-2021-23980.json"}},{"package":{"name":"py3-bleach","ecosystem":"Alpine:v3.18","purl":"pkg:apk/alpine/py3-bleach?arch=source"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"3.3.0-r0"}]}],"ecosystem_specific":{},"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/alpine/ALPINE-CVE-2021-23980.json"}},{"package":{"name":"py3-bleach","ecosystem":"Alpine:v3.19","purl":"pkg:apk/alpine/py3-bleach?arch=source"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"3.3.0-r0"}]}],"ecosystem_specific":{},"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/alpine/ALPINE-CVE-2021-23980.json"}},{"package":{"name":"py3-bleach","ecosystem":"Alpine:v3.20","purl":"pkg:apk/alpine/py3-bleach?arch=source"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"3.3.0-r0"}]}],"ecosystem_specific":{},"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/alpine/ALPINE-CVE-2021-23980.json"}},{"package":{"name":"py3-bleach","ecosystem":"Alpine:v3.21","purl":"pkg:apk/alpine/py3-bleach?arch=source"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"3.3.0-r0"}]}],"ecosystem_specific":{},"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/alpine/ALPINE-CVE-2021-23980.json"}},{"package":{"name":"py3-bleach","ecosystem":"Alpine:v3.22","purl":"pkg:apk/alpine/py3-bleach?arch=source"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"3.3.0-r0"}]}],"ecosystem_specific":{},"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/alpine/ALPINE-CVE-2021-23980.json"}},{"package":{"name":"py3-bleach","ecosystem":"Alpine:v3.23","purl":"pkg:apk/alpine/py3-bleach?arch=source"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"3.3.0-r0"}]}],"ecosystem_specific":{},"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/alpine/ALPINE-CVE-2021-23980.json"}},{"package":{"name":"py3-bleach","ecosystem":"Alpine:v3.24","purl":"pkg:apk/alpine/py3-bleach?arch=source"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"3.3.0-r0"}]}],"ecosystem_specific":{},"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/alpine/ALPINE-CVE-2021-23980.json"}}],"schema_version":"1.9.2","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N"}]}