Lepture vulnerabilities

26 vulnerabilities

Known vulnerabilities in Lepture products, newest first, with CVSS severity, EPSS, KEV listings and ransomware use, across 1 product.

Products

1
RoutineCVE-2026-121438lepture · mistuneMistune before 3.3.3 Denial of Service via Balanced Bracket Link ParsingMistune before 3.3.3 contains a denial of service vulnerability in InlineParser.parse_link that allows attackers to cause quadratic CPU growth by supplying balanced nested brackets. Attackers can submit crafted Markdown with thousands of nested bracket pairs not forming a valid link, triggering repeated _contains_nested_link scans that exhaust CPU in parsing applications.CVSS6.9MediumPrioritiseCVE-2026-121437lepture · mistuneMistune 3.3.0 before 3.3.4 Quadratic-Time DoS via _process_emphasis_delimitersMistune from 3.3.0 before 3.3.4 contains a denial of service vulnerability that allows remote attackers to exhaust CPU through quadratic-time emphasis delimiter processing. Attackers can submit small markdown documents with repeated patterns like "*a_b" to trigger an O(n²) index-fixup loop, stalling workers for seconds.CVSS8.7HighPrioritiseCVE-2026-115355lepture · mistune +3 moreMistune before 3.3.0 Path Traversal and XSS via Include DirectiveMistune 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.CVSS8.7HighEPSS0.46%RoutineCVE-2026-115354lepture · mistune +2 moreMistune before 3.3.0 Arbitrary Local File Read via Include DirectiveMistune 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.CVSS7.1HighEPSS0.47%PrioritiseCVE-2026-115353lepture · mistune +2 moreMistune before 3.3.0 Path Traversal via include DirectiveMistune 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.CVSS9.2CriticalEPSS0.39%PrioritiseCVE-2026-115352lepture · mistune +2 moreMistune before 3.3.0 Quadratic-Time DoS via Unmatched Brackets in Inline ParserMistune 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.CVSS8.7HighEPSS0.44%RoutineCVE-2026-115351lepture · mistune +2 moreMistune 3.2.1 before 3.3.0 CSS Injection via Figure Directive figwidth OptionMistune 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.CVSS5.3MediumEPSS0.22%RoutineCVE-2026-115350lepture · mistune +2 moreMistune before 3.3.0 Stored XSS via Include Directive HTML FilesMistune 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.CVSS6.1MediumEPSS0.19%PrioritiseCVE-2026-115349lepture · mistune +2 moreMistune 3.0.0 before 3.3.0 Denial of Service via Nested Bracket ParsingMistune 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.CVSS8.7HighEPSS0.34%PrioritiseCVE-2026-115348lepture · mistune +2 moreMistune before 3.3.0 Quadratic-Time DoS via parse_link_textMistune 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.CVSS8.7HighEPSS0.44%PrioritiseCVE-2026-115347lepture · mistune +2 moreMistune before 3.3.0 Quadratic Denial of Service via parse_link_textMistune 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.CVSS8.7HighEPSS0.41%PrioritiseCVE-2026-76098lepture · mistune +3 moreMistune has Denial of Service — RecursionError via Excessive Emphasis Markers in MarkdownMistune 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.3CVSS7.5HighEPSS0.49%RoutineCVE-2026-59927lepture · mistune +4 moreMistune directives/include: mutual `.. include::` recursion crashes the renderer with `RecursionError`, denial of service via two attacker-controlled markdown filesMistune 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.CVSS5.3MediumEPSS0.53%PrioritiseCVE-2026-59928lepture · mistune +4 moreMistune block_parser: quadratic-time parsing on long lists of repeated reference-link definitionsMistune 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.0.CVSS7.5HighEPSS0.65%RoutineCVE-2026-59924lepture · mistune +4 moreMistune: Arbitrary File Read via Include directive path traversalMistune 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.CVSS5.9MediumEPSS0.46%RoutineCVE-2026-59929lepture · mistune +4 moreMistune renderers/html.safe_url: HARMFUL_PROTOCOLS list misses legacy and chained schemes that historically chain to `javascript:` executionMistune 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.CVSS6.1MediumEPSS0.34%PrioritiseCVE-2026-59925lepture · mistune +4 moreinline_parser: quadratic-time parsing on long runs of `**x**` and `***x***` emphasis pairsMistune 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 in default Mistune parsing. This issue is fixed in version 3.3.0.CVSS7.5HighEPSS0.64%RoutineCVE-2026-59926lepture · mistune +4 moreMistune: XSS via unescaped class option in Admonition directiveMistune is a Python Markdown parser with renderers and plugins. Prior to 3.2.1, render_admonition() in src/mistune/directives/admonition.py concatenates the Admonition directive :class: option into the HTML class attribute without escaping, allowing attribute injection and cross-site scripting even when HTMLRenderer escape mode is enabled. This issue is fixed in version 3.2.1.CVSS6.1MediumEPSS0.33%RoutineCVE-2026-59923lepture · mistune +4 moreMistune: 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.CVSS6.1MediumEPSS0.35%RoutineCVE-2026-59930lepture · mistune +4 moreMistune toc / TableOfContents directive: heading IDs use predictable `toc_N` numbering with no slugification, allowing collision with attacker-controlled `id="toc_N"` contentMistune 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.CVSS4.3MediumEPSS0.19%