p PatchFirst

CVE-2021-23980

CVE-2021-23980

This page contains facts from public vulnerability sources. Check the original advisory before updating.

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 6.1 · Medium · EPSS 0.5% · Fix available

Published
Updated

Stack: system · python

Affected products and versions

  • mozilla bleach

    Versions
    • ≥ unspecified, < 3.3.0: Affected (custom)

    Update to 3.3.0

  • python-bleach Debian:12

    Affected ranges
    • ECOSYSTEM: < 3.2.1-2.1

    Update to 3.2.1-2.1

  • python-bleach Debian:13

    Affected ranges
    • ECOSYSTEM: < 3.2.1-2.1

    Update to 3.2.1-2.1

  • python-bleach Debian:14

    Affected ranges
    • ECOSYSTEM: < 3.2.1-2.1

    Update to 3.2.1-2.1

  • bleach PyPI

    Versions
    • 0.1
    • 0.1.1
    • 0.1.2
    • 0.2
    • 0.2.1
    • 0.2.2
    • 0.3
    • 0.3.1
    • 0.3.3
    • 0.3.4
    • 0.5.0
    • 0.5.1
    • 1.0.0
    • 1.0.1
    • 1.0.2
    • 1.0.3
    • 1.0.4
    • 1.1.0
    • 1.1.1
    • 1.1.2
    • 1.1.3
    • 1.1.4
    • 1.1.5
    • 1.2
    • 1.2.1
    • 1.2.2
    • 1.4
    • 1.4.1
    • 1.4.2
    • 1.4.3
    • 1.5.0
    • 2.0.0
    • 2.1
    • 2.1.1
    • 2.1.2
    • 2.1.3
    • 2.1.4
    • 3.0.0
    • 3.0.1
    • 3.0.2
    • 3.1.0
    • 3.1.1
    • 3.1.2
    • 3.1.3
    • 3.1.4
    • 3.1.5
    • 3.2.0
    • 3.2.1
    • 3.2.2
    • 3.2.3
    Affected ranges
    • ECOSYSTEM: < 3.3.0

    Update to 3.3.0

  • bleach PyPI

    Versions
    • 0.1
    • 0.1.1
    • 0.1.2
    • 0.2
    • 0.2.1
    • 0.2.2
    • 0.3
    • 0.3.1
    • 0.3.3
    • 0.3.4
    • 0.5.0
    • 0.5.1
    • 1.0.0
    • 1.0.1
    • 1.0.2
    • 1.0.3
    • 1.0.4
    • 1.1.0
    • 1.1.1
    • 1.1.2
    • 1.1.3
    • 1.1.4
    • 1.1.5
    • 1.2
    • 1.2.1
    • 1.2.2
    • 1.4
    • 1.4.1
    • 1.4.2
    • 1.4.3
    • 1.5.0
    • 2.0.0
    • 2.1
    • 2.1.1
    • 2.1.2
    • 2.1.3
    • 2.1.4
    • 3.0.0
    • 3.0.1
    • 3.0.2
    • 3.1.0
    • 3.1.1
    • 3.1.2
    • 3.1.3
    • 3.1.4
    • 3.1.5
    • 3.2.0
    • 3.2.1
    • 3.2.2
    • 3.2.3
    Affected ranges
    • GIT: < 79b7a3c5e56a09d1d323a5006afa59b56162eb13
    • ECOSYSTEM: < 3.3.0

    Update to 3.3.0

  • python-bleach Ubuntu:Pro:16.04:LTS

    Versions
    • 1.4-1
    • 1.4.2-1
    Affected ranges
    • ECOSYSTEM: < 1.4.2-1ubuntu0.1~esm1

    Update to 1.4.2-1ubuntu0.1~esm1

  • python-bleach Ubuntu:Pro:18.04:LTS

    Versions
    • 2.0-1
    • 2.1.2-1
    Affected ranges
    • ECOSYSTEM: < 2.1.2-1ubuntu0.1~esm1

    Update to 2.1.2-1ubuntu0.1~esm1

  • python-bleach Ubuntu:Pro:20.04:LTS

    Versions
    • 3.1.0-1
    • 3.1.0-2
    • 3.1.1-1
    Affected ranges
    • ECOSYSTEM: < 3.1.1-1ubuntu0.1~esm1

    Update to 3.1.1-1ubuntu0.1~esm1

Original sources

Check your server →