Vulnerability in Mistune Python Markdown Parser Affects Image Directive Plugin
CVE-2026-44899

4.7MEDIUM

Key Information:

Vendor

Lepture

Status
Vendor
CVE Published:
26 May 2026

What is CVE-2026-44899?

The Mistune Python Markdown parser contains a vulnerability in the Image directive plugin prior to version 3.2.1. This issue arises from improper validation of the :width: and :height: options, allowing non-integer values to be processed. Consequently, the input may be directly inserted into style attributes without proper escaping, leading to potential CSS injection attacks. Users are encouraged to update to version 3.2.1 or later to mitigate this risk. For further information, please refer to the security advisory and release notes provided by the vendor.

Affected Version(s)

mistune < 3.2.1

References

CVSS V3.1

Score:
4.7
Severity:
MEDIUM
Confidentiality:
Low
Integrity:
None
Availability:
Low
Attack Vector:
Network
Attack Complexity:
Low
Privileges Required:
None
User Interaction:
Required
Scope:
Changed

Timeline

  • Vulnerability published

  • Vulnerability Reserved

.