SicherheitslageDEEN

CVE-2026-44898

mistune project mistune

Patch priority

Regular

Fix with the next regular update.

CVSS
6.1
Severity
6.1
EPSS
0.2 %
Percentile
14
Actively exploited
not known

The traffic light combines CVSS (severity), EPSS (exploitation probability, FIRST) and CISA's KEV catalog. It does not replace your own assessment. More in the glossary

What do I need to do?

in plain words

Who is affected?

Only those who run mistune project mistune. The vendor name tells you whether the product is in use at your place.

How dangerous is it?

What to do?

  1. Include it in your next regular update.
  2. The vendor’s advisories (linked below) name the fixed version.
  3. If there is no update yet: keep the device or service off the internet (no port forwarding) and watch for the vendor’s announcement.

Generated automatically from the CVSS vector, KEV and EPSS – does not replace the vendor’s information. Terms explained

Description

NVD

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 the rendered TOC. This vulnerability is fixed in 3.2.1.

Vendor / product
mistune project mistune
Published
26.05.2026
Modified
24.07.2026
CWE
CWE-79
Status
Analyzed

CVSS v3.1 · CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N

Vendor reference

Vendor updates

3

Sources: NVD (NIST), CISA KEV, EPSS (FIRST.org), vendors and authorities. No warranty.