Advisory record · GHSA-ccfx-mfmx-2fx9

Mistune Image Directive CSS Injection Vulnerability

CVSS 4.7 MediumEPSS 0.0023 · 13th percentile

Published by the GitHub Advisory Database at 14 May 2026, 16:36 UTC. agentprime has not analysed this yet, so whether it affects any app is not known.

PackageEcosystemAffectedFixed in
mistunePyPI>=3.2.0, <3.2.13.2.1
Identifiers
GHSA-ccfx-mfmx-2fx9 · CVE-2026-44899 · PYSEC-2026-2209
Weakness (CWE)
CWE-79
Published
14 May 2026
Updated
13 Jul 2026

Machine-written summary

Summary written by Claude Haiku from the source advisory. Not reviewed by a person.

The mistune package versions 3.2.0 up to but not including 3.2.1 are vulnerable. The Image directive validates the :width: and :height: options with a prefix-only regex, so CSS appended after leading digits is inserted unescaped into a style attribute. An attacker who can get Markdown with an image directive rendered, such as through a wiki or issue tracker, can inject CSS that places a full-viewport overlay over the page, enabling phishing or UI redressing. Upgrade to mistune 3.2.1, which is the listed fixed version.

Written 6 Nov 2026.

Not analysed yet

We haven’t published our analysis of this Advisory yet. Once a person has reviewed it, this page will say what’s vulnerable, what has to be true for your app to be affected, and how to check.

Severity and exploitation

ScoreRatingCVSSVectorSource
4.7 Medium 3.1 CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:N/A:N CNA (GitHub_M)
  • CISA KEV Not listed.
  • EPSS 0.0023, the 13th percentile, on 17 Nov 2026: FIRST’s estimate of the chance of exploitation in the next 30 days.

Timeline

  1. 31 Oct 2026, 15:04 UTC First seen by agentprime
  2. 31 Oct 2026, 15:04 UTC Confirmed by OSV

Sources

Facts on this page come from the GitHub Advisory Database (CC-BY 4.0), OSV and the other sources listed, as published. We don’t reproduce full advisory descriptions, which can contain exploit code.