6.1

CVE-2026-44896: Mistune: XSS via unescaped figclass/figwidth in Figure directive

Modified
AliasesGHSA-58cw-g322-p94vPYSEC-2026-168UBUNTU-CVE-2026-44896
Published 26-05-2026Last modified 08-06-2026

Vulnerability summary

CVE-2026-44896 is a medium (CVSS 6.1) vulnerability in lepture mistune. EPSS estimates a 0.20% chance of exploitation in the next 30 days, higher than 9.6% of scored vulnerabilities.

Priority
Routine

Not severe (CVSS 5.3, network access); no exploitation reported by the 5 checked sources

Source freshness unavailable

How is this decided?
CVSS score
6.1/10
010
Medium · v3.1 (NVD)
EPSS score
0.20%
0%100%
Low · -0.07 pp in 30 days
KEVNot listedNot listed by any tracked catalog.
RansomwareNot flaggedNo ransomware use recorded.
Public exploits0No public exploits recorded

Advisory lineage

Upstream 0 · Downstream 2 · Related 3

Timeline

  1. 26-05-2026
    PublishedVulnerability first disclosed.
  2. 08-06-2026
    Last modifiedVulnerability information updated.

Description

Mistune is a Python Markdown parser with renderers and plugins. In 3.2.0 and earlier, in src/mistune/directives/image.py, the render_figure() function concatenates figclass and figwidth options directly into HTML attributes without escaping. This allows attribute injection and XSS even when HTMLRenderer(escape=True) is used, because these values bypass the inline renderer. Version 3.2.1 contains a patch.

CVSS metrics

9 scores · 7 sources · 2 versions

EPSS trend

Probability

0.20%

Chance of exploitation in the next 30 days

Percentile

10%

Versus all other CVEs

30-day change

Decrease -0.07 pp

From 0.27% on 04-10-2026

04-10-202603-11-2026

Known exploited

Compare KEV catalogs
CISA KEV

Not in the CISA KEV catalog.

ENISA CNW

Not in the ENISA CNW catalog.

CIRCL

Not in the CIRCL catalog.

Public exploits

0 found

No public exploits indexed.

Weaknesses

CWE · root cause

Affected systems

Version check

Known conditions: network-reachable, no authentication, user interaction (CVSS vector). Other conditions: not stated in public data.

Chainguard2 products
  • datahub-ingestion-fips< 1.5.0.1-r2
  • kubeflow-pipelines-visualization-server< 2.16.1-r2
Ubuntu2 products
  • mistuneAll versions (No fix recorded)
  • mistune0All versions (No fix recorded)
Debian1 product
  • mistuneAll versions (No fix recorded)
Lepture1 product
Mistune_project1 product
PyPI1 product
  • mistune< 3.2.1
Wolfi1 product
  • kubeflow-pipelines-visualization-server< 2.16.1-r2

7 vendors · 9 products

References

9 links