justhtml@1.12.0 vulnerabilities

A pure Python HTML5 parser that just works.

  • latest version

    1.13.0

  • latest non vulnerable version

  • first published

    3 months ago

  • latest version published

    6 days ago

  • licenses detected

  • Direct Vulnerabilities

    Known vulnerabilities in the justhtml 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
    • H
    Cross-site Scripting (XSS)

    justhtml is an A pure Python HTML5 parser that just works.

    Affected versions of this package are vulnerable to Cross-site Scripting (XSS) via the to_markdown function when serializing attacker-controlled <pre> content. An attacker can execute arbitrary HTML or scripts by crafting input containing backticks and HTML-like text within a sanitized <pre> element, causing the generated Markdown to break out of the intended code block and render raw HTML when processed by Markdown renderers that allow raw HTML.

    How to fix Cross-site Scripting (XSS)?

    Upgrade justhtml to version 1.13.0 or higher.

    [,1.13.0)