Skip to main content

CVE-2026-115351: Improper Control of Generation of Code ('Code Injection') in lepture mistune

0
Medium
VulnerabilityCVE-2026-115351cvecve-2026-115351
Published: 10/22/2026 (10/22/2026, 19:13:27 UTC)
Source: CVE Database V5
Vendor/Project: lepture
Product: mistune

Description

Mistune from 3.2.1 before 3.3.0 contains a CSS injection vulnerability that allows attackers controlling markdown input to inject arbitrary style declarations via the unvalidated figwidth option of the figure directive. Attackers can append declarations like background:url() to the rendered figure style attribute, forcing victim browsers to send requests to attacker servers and leak attribute values.

CVSS v4.0

Score 5.3medium

Attack Vector
Network
Attack Complexity
Low
Attack Requirements
None
Privileges Required
None
User Interaction
Passive
Vuln. Confidentiality
Low
Vuln. Integrity
None
Vuln. Availability
None
Subsq. Confidentiality
None
Subsq. Integrity
None
Subsq. Availability
None
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

Affected software

lepture

mistune

Affected versions
>=3.2.1 <3.3.0

Technical Details

Data Version
5.2
Assigner Short Name
VulnCheck
Date Reserved
2026-10-22T11:20:02.626Z
Cvss Version
4.0
State
PUBLISHED

Threat ID: 6ada64a04d27ba8daa755e5b

Added to database: 10/22/2026, 19:31:44 UTC

Last updated: 10/22/2026, 19:31:44 UTC

Views: 3

Community Reviews

0 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

Please log in to the Console to use AI analysis features.

Need more coverage?

Upgrade to Pro Console for AI refresh and higher limits.

For incident response and remediation, OffSeq services can help resolve threats faster.

Latest Threats

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses