Lepture Mistune vulnerabilities
26 known vulnerabilities affecting lepture/mistune.
Total CVEs
26
CISA KEV
0
Public exploits
0
Exploited in wild
0
Severity breakdown
HIGH12MEDIUM14
Vulnerabilities
Page 1 of 2
CVE-2026-115353P3HIGHCVSS 8.6fixed in 3.3.02026-10-22
CVE-2026-115353 [HIGH] CWE-22 CVE-2026-115353: Mistune before 3.3.0 contains a path traversal vulnerability in the RST include directive that allow
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 render
nvd
CVE-2026-115352P3HIGHCVSS 7.5fixed in 3.3.02026-10-22
CVE-2026-115352 [HIGH] CWE-407 CVE-2026-115352: Mistune before 3.3.0 contains an algorithmic complexity vulnerability in the inline link parser that
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+ seco
nvd
CVE-2026-115348P3HIGHCVSS 7.5≥ 3.0.0, < 3.3.02026-10-22
CVE-2026-115348 [HIGH] CWE-400 CVE-2026-115348: Mistune from 3.0.0 before 3.3.0 contains an algorithmic complexity vulnerability in the inline link
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 work
nvd
CVE-2026-115355P3HIGHCVSS 7.5fixed in 3.3.02026-10-22
CVE-2026-115355 [HIGH] CWE-22 CVE-2026-115355: Mistune before 3.3.0 contains a path traversal vulnerability in the Include directive that allows at
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.
nvd
CVE-2026-59922P3HIGHCVSS 7.5fixed in 3.3.02026-07-08
CVE-2026-59922 [HIGH] CWE-407 CVE-2026-59922: Mistune is a Python Markdown parser with renderers and plugins. Prior to 3.3.0, a run of closed tild
Mistune is a Python Markdown parser with renderers and plugins. Prior to 3.3.0, a run of closed tilde, equals-sign, or caret marker pairs around a character causes quadratic work in src/mistune/plugins/formatting.py when the strikethrough, mark, or insert plugin scans for matching markers from each possible start position, allowing denial of service t
nvd
CVE-2026-33079P3HIGHCVSS 7.5v>=3.0.0a1, <= 3.2.02026-05-06
CVE-2026-33079 [HIGH] CWE-1333 CVE-2026-33079: In versions 3.0.0a1 through 3.2.0 of Mistune, there is a ReDoS (Regular Expression Denial of Service
In versions 3.0.0a1 through 3.2.0 of Mistune, there is a ReDoS (Regular Expression Denial of Service) vulnerability in `LINK_TITLE_RE` that allows an attacker who can supply Markdown for parsing to cause denial of service. The regular expression used for parsing link titles contains overlapping alternatives that can trigger catastrophic backtracking.
nvd
CVE-2026-49851P3HIGHCVSS 7.5fixed in 3.3.02026-06-24
CVE-2026-49851 [HIGH] CWE-400 CVE-2026-49851: Mistune is a Python Markdown parser with renderers and plugins. Prior to 3.3.0, Mistune is vulnerabl
Mistune is a Python Markdown parser with renderers and plugins. Prior to 3.3.0, Mistune is vulnerable to a CPU exhaustion DoS due to superlinear (approximately O(n²)) behavior in parse_link_text. When parsing Markdown containing many consecutive [ characters, parse_link_text repeatedly scans the input using a regex search inside a loop. Each iteration
nvd
CVE-2026-76098P3HIGHCVSS 7.5v>= 3.3.0, < 3.3.32026-08-24
CVE-2026-76098 [HIGH] CWE-674 CVE-2026-76098: Mistune is a Python Markdown parser with renderers and plugins. Versions 3.3.0 through 3.3.2 are vul
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,
nvd
CVE-2026-59928P3HIGHCVSS 7.5fixed in 3.3.02026-07-08
CVE-2026-59928 [HIGH] CWE-407 CVE-2026-59928: Mistune is a Python Markdown parser with renderers and plugins. Prior to 3.3.0, a Markdown document
Mistune is a Python Markdown parser with renderers and plugins. Prior to 3.3.0, a Markdown document containing many repeated or distinct reference-link definitions causes quadratic work in src/mistune/block_parser.py and the ref_links environment dictionary handling, allowing denial of service through CPU exhaustion. This issue is fixed in version 3.3.
nvd
CVE-2026-59925P3HIGHCVSS 7.5fixed in 3.3.02026-07-08
CVE-2026-59925 [HIGH] CWE-407 CVE-2026-59925: Mistune is a Python Markdown parser with renderers and plugins. Prior to 3.3.0, long sequences of we
Mistune is a Python Markdown parser with renderers and plugins. Prior to 3.3.0, long sequences of well-formed double-asterisk or triple-asterisk emphasis pairs around a character cause quadratic work in src/mistune/inline_parser.py because the parser scans forward for matching close markers from every potential opening run, allowing denial of service
nvd
CVE-2026-115349P3HIGHCVSS 7.5≥ 3.0.0, < 3.3.02026-10-22
CVE-2026-115349 [HIGH] CWE-1333 CVE-2026-115349: Mistune from 3.0.0 before 3.3.0 contains an algorithmic complexity denial of service vulnerability i
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.
nvd
CVE-2026-115347P3HIGHCVSS 7.5fixed in 3.3.02026-10-22
CVE-2026-115347 [HIGH] CWE-407 CVE-2026-115347: Mistune before 3.3.0 contains an inefficient algorithmic complexity vulnerability in 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
nvd
CVE-2026-59924P3MEDIUMCVSS 5.9fixed in 3.3.02026-07-08
CVE-2026-59924 [MEDIUM] CWE-22 CVE-2026-59924: Mistune is a Python Markdown parser with renderers and plugins. Prior to 3.3.0, Include.parse() join
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
nvd
CVE-2026-115354P4MEDIUMCVSS 6.5fixed in 3.3.02026-10-22
CVE-2026-115354 [MEDIUM] CWE-22 CVE-2026-115354: Mistune before 3.3.0 contains a path traversal vulnerability in the opt-in Include directive that al
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.
nvd
CVE-2026-59923P4MEDIUMCVSS 6.1fixed in 3.3.02026-07-08
CVE-2026-59923 [MEDIUM] CWE-79 CVE-2026-59923: Mistune is a Python Markdown parser with renderers and plugins. Prior to 3.3.0, HTMLRenderer.safe_ur
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.
nvd
CVE-2026-59929P4MEDIUMCVSS 6.1fixed in 3.3.02026-07-08
CVE-2026-59929 [MEDIUM] CWE-79 CVE-2026-59929: Mistune is a Python Markdown parser with renderers and plugins. Prior to 3.3.0, the safe_url filter
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 an
nvd
CVE-2026-44898P4MEDIUMCVSS 6.1fixed in 3.2.12026-05-26
CVE-2026-44898 [MEDIUM] CWE-79 CVE-2026-44898: Mistune is a Python Markdown parser with renderers and plugins. Prior to 3.2.1, render_toc_ul() buil
Mistune is a Python Markdown parser with renderers and plugins. Prior to 3.2.1, render_toc_ul() builds a table-of-contents tree from a list of (level, id, text) tuples. Both the id value (used as href="#") and the text value (used as the visible link label) are inserted into tags via a plain Python format string — with no HTML escaping applied to eit
nvd
CVE-2026-59927P4MEDIUMCVSS 5.3fixed in 3.3.02026-07-08
CVE-2026-59927 [MEDIUM] CWE-674 CVE-2026-59927: Mistune is a Python Markdown parser with renderers and plugins. Prior to 3.3.0, the Include directiv
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
nvd
CVE-2026-44897P4MEDIUMCVSS 6.1fixed in 3.2.12026-05-26
CVE-2026-44897 [MEDIUM] CWE-79 CVE-2026-44897: Mistune is a Python Markdown parser with renderers and plugins. Prior to 3.2.1, HTMLRenderer.heading
Mistune is a Python Markdown parser with renderers and plugins. Prior to 3.2.1, HTMLRenderer.heading() builds the opening 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
nvd
CVE-2026-44899P4MEDIUMCVSS 6.1fixed in 3.2.12026-05-26
CVE-2026-44899 [MEDIUM] CWE-79 CVE-2026-44899: Mistune is a Python Markdown parser with renderers and plugins. Prior to 3.2.1, the Image directive
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:...;
nvd
1 / 2Next →