Skip to content
OpenAdvisories

Package · PyPI

justhtml

10 known vulnerabilities.

5 results · Clear filters · Feed

  • Medium 6.1

    justhtml before 1.12.0 Mutation XSS via Raw Text Elements

    justhtml before 1.12.0 (versions <= 1.11.0) contains a mutation cross-site scripting (mXSS) vulnerability in the serialization of raw-text elements such as <style> and <script>. When a DOM tree is processed by sanitize_dom() using a custom policy that keeps t…

  • Medium 6.1

    justhtml 0.9.0 through 1.21.0 Cross-Site Scripting via code-span

    justhtml versions 0.9.0 through 1.21.0 contain a cross-site scripting vulnerability in to_markdown() where inline code spans fail to account for blank lines as block boundaries. Attackers can inject blank lines into code or pre element text to break the inlin…

  • Medium 6.1

    justhtml before 1.17.0 Multiple Cross-Site Scripting Vulnerabilities

    justhtml before 1.17.0 contains multiple security issues in sanitization, serialization, and programmatic DOM handling. When custom policies preserve foreign namespaces (SVG/MathML), dangerous content such as HTML integration points (SVG <foreignObject>, Math…

  • Medium 6.1

    justhtml before 1.14.0 Mutation XSS via custom sanitization policies

    justhtml versions 1.13.0 and earlier contain a parser-differential / mutation cross-site scripting (mXSS) vulnerability when using a custom SanitizationPolicy that preserves foreign namespaces (e.g., drop_foreign_namespaces=False with allowlisted SVG/MathML e…

  • Medium 6.1

    justhtml before 1.13.0 XSS via code fence breakout

    justhtml versions before 1.13.0 contain a cross-site scripting vulnerability in the to_markdown() function when serializing attacker-controlled pre content. Attackers can place backticks inside sanitized pre elements to break out of fixed-length code fences, …