Skip to content
OpenAdvisories

Package · Ubuntu

python-bleach

5 known vulnerabilities.

5 results · Feed

  • High 7.5

    regular expression denial-of-service (ReDoS) in Bleach

    bleach.clean behavior parsing style attributes could result in a regular expression denial of service (ReDoS). Calls to bleach.clean with an allowed tag with an allowed style attribute are vulnerable to ReDoS. For example, bleach.clean(..., attributes={'a': […

  • Medium 6.1

    Cross-site scripting in Bleach

    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 t…

  • Medium 6.1

    Bleach vulnerable to mutation XSS via whitelisted math or svg and raw tag

    In Mozilla Bleach before 3.12, a mutation XSS in bleach.clean when RCDATA and either svg or math tags are whitelisted and the keyword argument strip=False.

  • Medium 6.1

    XSS in Bleach when noscript and raw tag whitelisted

    In Mozilla Bleach before 3.11, a mutation XSS affects users calling bleach.clean with noscript and a raw tag in the allowed/whitelisted tags option.

  • Critical 9.8

    Bleach URI Scheme Restriction Bypass

    An issue was discovered in Bleach 2.1.x before 2.1.3. Attributes that have URI values weren't properly sanitized if the values contained character entities. Using character entities, it was possible to construct a URI value with a scheme that was not allowed …