CVEvulnerability

CVE-2026-59927

5.3 MEDIUM Published 2026-07-08 Modified 2026-10-25 Official page ↗
Status
Analyzed
Published
2026-07-08
Last modified
2026-10-25
Assigner
[email protected]
CVSS 3.1 ([email protected])
5.3 MEDIUM — CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L
Weaknesses
CWE-674, CWE-755

Description

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.

Affected configurations

• mistune project mistune (< 3.3.0)

Related

Weakness · CWE (2)

  • CWE-674 Uncontrolled Recursion weakness
  • CWE-755 Improper Handling of Exceptional Conditions weakness

References