Skip to main content
CVE-2026-115351VulnerabilityPublished Updated

Mistune from 3.2.1 before 3.3.0 contains a CSS injection vulnerability that allows attackers controlling markdown

Affects mistuneSource GCVE Database

0
Authoritative record:CVE-2026-115351· Medium 5.3

Not known to be exploited · CVSS 5.3 Medium.

Data as of 28 Oct 2026, 23:13 UTC

CVSS 4.0 base score
5.3Medium
How severe the flaw is on the 0–10 CVSS scale.
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:P/VC:L/VI:N/VA:N/SC:N/SI:N/SA:N

Exploitation evidence

  1. Disclosed: evidence found.

    CVE published 22 Oct 2026

  2. Detectable: no evidence on record.

    No public nuclei template indexed

  3. Weaponised: no evidence on record.

    No public exploit code indexed in Metasploit or Exploit-DB

  4. Exploited in the wild: no evidence on record.

    Not in CISA KEV and no source reports exploitation

  5. Observed by OffSeq Mirage: no evidence on record.

    No attack traffic recorded by OffSeq Mirage sensors

A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 26 Oct 2026.

What to do

Affected software

ProductAffectedFixed in
Ubuntu 26.10mistunepkg:deb/ubuntu/mistune?arch=source&distro=stonkingOther threatsAffected
  • =3.1.4-1
Fixed in–
Ubuntu 26.04 LTSmistunepkg:deb/ubuntu/mistune?arch=source&distro=resoluteOther threatsAffected
  • =3.1.3-1
  • =3.1.4-1
Fixed in–
Ubuntu 24.04 LTSmistunepkg:deb/ubuntu/mistune?arch=source&distro=nobleOther threatsAffected
  • =2.0.4-2
  • =3.0.2-1
Fixed in–
Ubuntu 22.04 LTSmistunepkg:deb/ubuntu/mistune?arch=source&distro=jammyOther threatsAffected
  • =0.8.4-4
  • =0.8.4-5
  • =2.0.0-1+really0.8.4-1
Fixed in–
Ubuntu 20.04 LTSmistunepkg:deb/ubuntu/mistune?arch=source&distro=focalOther threatsAffected
  • =0.8.4-1
  • =0.8.4-2
Fixed in–
Ubuntu 18.04 LTSmistunepkg:deb/ubuntu/mistune?arch=source&distro=bionicOther threatsAffected
  • 0.7.4-1 – 0.8.3-2
4 affected builds
Fixed in–

Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.

AI-suggested

Until an official fix is available, avoid processing untrusted markdown input containing the figure directive with the figwidth option or sanitize markdown inputs to prevent injection of arbitrary style declarations.

Description

Mistune versions from 3.2.1 up to but not including 3.3.0 contain a CSS injection vulnerability. This flaw allows attackers who can control markdown input to inject arbitrary CSS style declarations via the unvalidated figwidth option of the figure directive. Exploitation can cause victim browsers to send requests to attacker-controlled servers, potentially leaking attribute values. The vulnerability has a medium severity rating with a CVSS score of 4.7.

References

Community reviews

Loading reviews…