bleach@6.4.0

An easy safelist-based HTML-sanitizing tool.

  • latest version

    6.4.0

  • first published

    16 years ago

  • latest version published

    15 days ago

  • licenses detected

  • Direct Vulnerabilities

    Known vulnerabilities in the bleach package. This does not include vulnerabilities belonging to this package’s dependencies.

    Fix vulnerabilities automatically

    Snyk's AI Trust Platform automatically finds the best upgrade path and integrates with your development workflows. Secure your code at zero cost.

    Fix for free
    VulnerabilityVulnerable Version
    • M
    Regular Expression Denial of Service (ReDoS)

    bleach is a whitlist-based HTML sanitizing library that escapes or strips markup and attributes.

    Affected versions of this package are vulnerable to Regular Expression Denial of Service (ReDoS) via the LinkifyFilter.handle_email_addresses() function. An attacker can cause excessive CPU consumption by submitting specially crafted large non-email input to the email linkification path when the parse_email option is enabled. This is only exploitable if the consuming application enables the parse_email=True option and allows untrusted user input of sufficient size to reach the linkification process without input limits or timeouts.

    How to fix Regular Expression Denial of Service (ReDoS)?

    There is no fixed version for bleach.

    [0,)