bleach vulnerabilities
An easy safelist-based HTML-sanitizing tool.
- Registry
- PyPI
- Latest
- 6.4.0
- License
- Apache Software License
8 known advisories
The latest version, 6.4.0, is not affected by any of them. Projects on older versions may be.
pip install 'bleach>=6.4.0'Is your project on an affected bleach?
Look after several Python apps? Indie watches up to 15 repos, private ones too, for $5 a month. See Indie
Security advisories for bleach
Bleach clean() / Cleaner() fails to sanitize dangerous URI schemes in allowed formaction attributes
- Affected
- <6.4.0
- Fixed in
- 6.4.0
Bleach linkify(parse_email=True) CPU exhaustion via unbounded email regex scanning
- Affected
- 6.3.0
- Fixed in
- No fix released
Bleach: URI sanitization allows disallowed URI schemes with Unicode > U+00A0 in output
- Affected
- <6.4.0
- Fixed in
- 6.4.0
Cross-site scripting in Bleach
- Affected
- <3.3.0
- Fixed in
- 3.3.0
regular expression denial-of-service (ReDoS) in Bleach
- Affected
- <3.1.4
- Fixed in
- 3.1.4
Bleach vulnerable to mutation XSS via whitelisted math or svg and raw tag
- Affected
- <3.1.2
- Fixed in
- 3.1.2
XSS in Bleach when noscript and raw tag whitelisted
- Affected
- <3.1.1
- Fixed in
- 3.1.1
Bleach URI Scheme Restriction Bypass
- Affected
- >=2.1.0 <2.1.3
- Fixed in
- 2.1.3
Is your bleach version vulnerable?
Which of your client projects still run an old bleach?
NPMscan reads the requirements.txt, poetry.lock, uv.lock and Pipfile.lock in every GitHub repo you pick and checks each installed version against these advisories, including the packages your packages pull in. Each finding comes with the command that fixes it.
Other PyPI packages
Advisory data from OSV.dev (opens OSV.dev in a new tab), refreshed daily. Package details from the PyPI registry.