p PatchFirst

PatchFirst · Vulnérabilités récentes

Vulnérabilités de mistune

Vulnérabilités publiées pour mistune au cours des 30 derniers jours : 9. Présentes dans le catalogue KEV : 0.

RSS ↗
Filtrer les vulnérabilités
Effacer les filtres

Vulnérabilités : 23

  1. CVE-2026-115355

    Élevée · CVSS 8.7EPSS 0,39%Aucun correctif publié

    Mistune before 3.3.0 Path Traversal and XSS via Include Directive

    Mistune before 3.3.0 contains a path traversal vulnerability in the Include directive that allows attackers to read arbitrary files by supplying ../ sequences in include paths. Attackers can also inject HTML through unescaped error messages and included file contents to perform cross-site scripting even when escape=True is set.

    Publication Mise à jour
  2. CVE-2026-115354

    Élevée · CVSS 7.1EPSS 0,33%Aucun correctif publié

    Mistune before 3.3.0 Arbitrary Local File Read via Include Directive

    Mistune before 3.3.0 contains a path traversal vulnerability in the opt-in Include directive that allows attackers to read local files by supplying relative or absolute include paths. Attackers who submit Markdown rendered via Markdown.read() can disclose files such as /etc/passwd and inject unescaped HTML or script content into rendered output.

    Publication Mise à jour
  3. CVE-2026-115353

    Critique · CVSS 9.2EPSS 0,39%Aucun correctif publié

    Mistune before 3.3.0 Path Traversal via include Directive

    Mistune before 3.3.0 contains a path traversal vulnerability in the RST include directive that allows attackers to read arbitrary files by supplying relative or absolute paths. Attackers can submit markdown containing include directives referencing ../ sequences or absolute paths to embed sensitive files like credentials or environment data in rendered HTML.

    Publication Mise à jour
  4. CVE-2026-115352

    Élevée · CVSS 8.7EPSS 0,36%Aucun correctif publié

    Mistune before 3.3.0 Quadratic-Time DoS via Unmatched Brackets in Inline Parser

    Mistune before 3.3.0 contains an algorithmic complexity vulnerability in the inline link parser that allows unauthenticated attackers to exhaust CPU by submitting long runs of unmatched '[' characters. Attackers can send small markdown payloads that trigger O(N^2) parse_link_text and parse_link_label probing, occupying rendering workers for 30+ seconds per 16 KB input.

    Publication Mise à jour
  5. CVE-2026-115351

    Moyenne · CVSS 5.3EPSS 0,22%Aucun correctif publié

    Mistune 3.2.1 before 3.3.0 CSS Injection via Figure Directive figwidth Option

    Mistune from 3.2.1 before 3.3.0 contains a CSS injection vulnerability that allows attackers controlling markdown input to inject arbitrary style declarations via the unvalidated figwidth option of the figure directive. Attackers can append declarations like background:url() to the rendered figure style attribute, forcing victim browsers to send requests to attacker servers and leak attribute values.

    Publication Mise à jour
  6. CVE-2026-115350

    Moyenne · CVSS 5.3EPSS 0,19%Aucun correctif publié

    Mistune before 3.3.0 Stored XSS via Include Directive HTML Files

    Mistune before 3.3.0 contains a cross-site scripting vulnerability in the Include directive that emits included .html, .xhtml, or .htm file content as raw block_html tokens. Attackers who can plant an HTML file readable by the renderer can reference it via an include directive, combined with path traversal, to execute stored scripts when escape=False is set.

    Publication Mise à jour
  7. CVE-2026-115349

    Élevée · CVSS 8.7EPSS 0,34%Aucun correctif publié

    Mistune 3.0.0 before 3.3.0 Denial of Service via Nested Bracket Parsing

    Mistune from 3.0.0 before 3.3.0 contains an algorithmic complexity denial of service vulnerability in the parse_link_text function in src/mistune/helpers.py. Attackers can submit markdown with deeply nested square brackets triggering quadratic parsing time, exhausting server CPU with small crafted requests.

    Publication Mise à jour
  8. CVE-2026-115348

    Élevée · CVSS 8.7EPSS 0,36%Aucun correctif publié

    Mistune before 3.3.0 Quadratic-Time DoS via parse_link_text

    Mistune from 3.0.0 before 3.3.0 contains an algorithmic complexity vulnerability in the inline link parser's parse_link_text function that allows unauthenticated attackers to exhaust CPU with unbalanced brackets. Attackers can submit Markdown containing many unbalanced '[' or '![' characters, forcing repeated unbounded forward scans and tying up worker processes for minutes.

    Publication Mise à jour
  9. CVE-2026-115347

    Élevée · CVSS 8.7EPSS 0,41%Aucun correctif publié

    Mistune before 3.3.0 Quadratic Denial of Service via parse_link_text

    Mistune before 3.3.0 contains an inefficient algorithmic complexity vulnerability in parse_link_text that allows remote attackers to cause denial of service through unbalanced square brackets. Attackers can submit markdown containing long runs of unmatched brackets to mistune.html(), triggering repeated forward scans that stall worker processes for minutes.

    Publication Mise à jour
  10. CVE-2026-76098

    Élevée · CVSS 7.5EPSS 0,49%Aucun correctif publié

    Mistune has Denial of Service — RecursionError via Excessive Emphasis Markers in Markdown

    Mistune is a Python Markdown parser with renderers and plugins. Versions 3.3.0 through 3.3.2 are vulnerable to DoS through deeply nested tokens. HTML rendering creates deeply nested emphasis tokens from consecutive asterisk characters, and recursive rendering in HTMLRenderer.render_token() can exceed Python's recursion limit and raise RecursionError, allowing crafted Markdown to crash a parsing process. This issue is fixed in version 3.3.3

    Publication Mise à jour
  11. CVE-2026-59927

    Moyenne · CVSS 5.3EPSS 0,53%Aucun correctif publié

    Mistune directives/include: mutual `.. include::` recursion crashes the renderer with `RecursionError`, denial of service via two attacker-controlled markdown files

    Mistune is a Python Markdown parser with renderers and plugins. Prior to 3.3.0, the Include directive in src/mistune/directives/include.py detects only direct self-includes and not indirect cycles, allowing two markdown files that include each other to trigger unbounded recursion, raise RecursionError, and crash the rendering request. This issue is fixed in version 3.3.0.

    Publication Mise à jour
  12. CVE-2026-59924

    Moyenne · CVSS 5.9EPSS 0,46%Aucun correctif publié

    Mistune: Arbitrary File Read via Include directive path traversal

    Mistune is a Python Markdown parser with renderers and plugins. Prior to 3.3.0, Include.parse() joins and normalizes user-supplied include paths without verifying that the result remains within the intended markdown directory, allowing crafted include paths to access files outside that directory when markdown files are processed using md.read(). This issue is fixed in version 3.3.0.

    Publication Mise à jour
  13. CVE-2026-59929

    Moyenne · CVSS 6.1EPSS 0,34%Aucun correctif publié

    Mistune renderers/html.safe_url: HARMFUL_PROTOCOLS list misses legacy and chained schemes that historically chain to `javascript:` execution

    Mistune is a Python Markdown parser with renderers and plugins. Prior to 3.3.0, the safe_url filter in src/mistune/renderers/html.py blocks only javascript:, vbscript:, file:, and data: schemes, allowing legacy or chained schemes such as feed:, view-source:, jar:, livescript:, mocha:, ms-its:, mk:, and res: to reach rendered href and src attributes and potentially execute script in affected user agents. This issue is fixed in version 3.3.0.

    Publication Mise à jour
  14. CVE-2026-59923

    Moyenne · CVSS 6.1EPSS 0,35%Aucun correctif publié

    Mistune: XSS via percent-encoded javascript URI bypass in safe_url()

    Mistune is a Python Markdown parser with renderers and plugins. Prior to 3.3.0, HTMLRenderer.safe_url() does not block percent-encoded javascript URIs, allowing attacker-supplied Markdown links or images to bypass URL protections and execute script in rendered HTML. This issue is fixed in version 3.3.0.

    Publication Mise à jour
  15. CVE-2026-59930

    Moyenne · CVSS 4.3EPSS 0,19%Aucun correctif publié

    Mistune toc / TableOfContents directive: heading IDs use predictable `toc_N` numbering with no slugification, allowing collision with attacker-controlled `id="toc_N"` content

    Mistune is a Python Markdown parser with renderers and plugins. Prior to 3.3.0, the toc plugin and TableOfContents directive generate heading IDs as predictable toc_N values without slugifying the heading text, allowing attacker-controlled id="toc_N" content to collide with generated anchors and redirect same-page navigation, CSS selectors, or JavaScript handlers. This issue is fixed in version 3.3.0.

    Publication Mise à jour
  16. CVE-2026-44898

    Moyenne · CVSS 6.1EPSS 0,27%Aucun correctif publié

    Mistune TOC Anchor Injection XSS

    Mistune is a Python Markdown parser with renderers and plugins. Prior to 3.2.1, render_toc_ul() builds a <ul> table-of-contents tree from a list of (level, id, text) tuples. Both the id value (used as href="#<id>") and the text value (used as the visible link label) are inserted into <a> tags via a plain Python format string — with no HTML escaping applied to either value. When heading IDs are derived from user-supplied heading text (the standard use-case for readable slug anchors), an attacker can craft a heading whose text breaks out of the href="#..." attribute context, injecting arbitrary HTML tags including <script> blocks directly into

    Publication Mise à jour
  17. CVE-2026-44897

    Moyenne · CVSS 6.1EPSS 0,27%Aucun correctif publié

    Mistune Heading ID Attribute Injection XSS

    Mistune is a Python Markdown parser with renderers and plugins. Prior to 3.2.1, HTMLRenderer.heading() builds the opening <hN> tag by string-concatenating the id attribute value directly into the HTML — with no call to escape(), safe_entity(), or any other sanitisation function. A double-quote character " in the id value terminates the attribute, allowing an attacker to inject arbitrary additional attributes (event handlers, src=, href=, etc.) into the heading element. This vulnerability is fixed in 3.2.1.

    Publication Mise à jour
  18. CVE-2026-44708

    Moyenne · CVSS 6.1EPSS 0,27%Aucun correctif publié

    Mistune Math Plugin XSS Escape Bypass

    Mistune is a Python Markdown parser with renderers and plugins. Prior to 3.2.1, the mistune math plugin renders inline math ($...$) and block math ($$...$$) by concatenating the raw user-supplied content directly into the HTML output without any HTML escaping. This occurs even when the parser is explicitly created with escape=True, which is supposed to guarantee that all user-controlled text is sanitised before reaching the DOM. This vulnerability is fixed in 3.2.1.

    Publication Mise à jour
  19. CVE-2026-44899

    Moyenne · CVSS 4.7EPSS 0,27%Aucun correctif publié

    Mistune Image Directive CSS Injection Vulnerability

    Mistune is a Python Markdown parser with renderers and plugins. Prior to 3.2.1, the Image directive plugin validates the :width: and :height: options with a regex compiled as _num_re = re.compile(r"^\d+(?:\.\d*)?"). When the validated value is not a plain integer, render_block_image() inserts it directly into a style="width:...;" or style="height:...;" attribute. Because the value was accepted by the prefix-only regex, any CSS after the leading digits reaches the style= attribute verbatim and without escaping. This vulnerability is fixed in 3.2.1.

    Publication Mise à jour
  20. CVE-2026-44896

    Moyenne · CVSS 5.3EPSS 0,27%Aucun correctif publié

    Mistune: XSS via unescaped figclass/figwidth in Figure directive

    Mistune is a Python Markdown parser with renderers and plugins. In 3.2.0 and earlier, in src/mistune/directives/image.py, the render_figure() function concatenates figclass and figwidth options directly into HTML attributes without escaping. This allows attribute injection and XSS even when HTMLRenderer(escape=True) is used, because these values bypass the inline renderer. Version 3.2.1 contains a patch.

    Publication Mise à jour

Vérifiez votre serveur

Comparez votre pile et les versions installées aux bases de vulnérabilités actuelles.

Vérifiez votre serveur →