Goal Reached Thanks to every supporter — we hit 100%!

Goal: 1000 CNY · Raised: 1336 CNY

100%

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

AI Predicted 6.1 Difficulty: Moderate EPSS 0.20% · P10

Possible ATT&CK Techniques 1AI

T1059 · Command and Scripting Interpreter

Affected Version Matrix 1

VendorProductVersion RangeStatus
lepturemistune< 3.2.1affected
Get alerts for future matching vulnerabilitiesLog in to subscribe

I. Basic Information for CVE-2026-44896

Vulnerability Information

Have questions about the vulnerability? See if Shenlong's analysis helps!
View Shenlong Deep Dive ↗

Although we use advanced large model technology, its output may still contain inaccurate or outdated information.Shenlong tries to ensure data accuracy, but please verify and judge based on the actual situation.

Vulnerability Title
Mistune: XSS via unescaped figclass/figwidth in Figure directive
Source: CVE Program / CVE List V5
Vulnerability 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.
Source: CVE Program / CVE List V5
CVSS Information
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:P/VC:N/VI:N/VA:N/SC:L/SI:L/SA:N
Source: CVE Program / CVE List V5
Vulnerability Type
在Web页面生成时对输入的转义处理不恰当(跨站脚本)
Source: CVE Program / CVE List V5
Vulnerability Title
mistune 跨站脚本漏洞
Source: CNNVD (China National Vulnerability Database)
Vulnerability Description
mistune是Hsiaoming Yang个人开发者的一个快速而强大的 Python Markdown 解析器。 mistune 3.2.0及之前版本存在跨站脚本漏洞,该漏洞源于在src/mistune/directives/image.py中,render_figure()函数将figclass和figwidth选项直接拼接至HTML属性而未进行转义,即使HTMLRenderer(escape=True)启用时也可导致属性注入和跨站脚本攻击。
Source: CNNVD (China National Vulnerability Database)
CVSS Information
N/A
Source: CNNVD (China National Vulnerability Database)
Vulnerability Type
N/A
Source: CNNVD (China National Vulnerability Database)

Affected Products

VendorProductAffected VersionsCPESubscribe
lepturemistune < 3.2.1 -

II. Public POCs for CVE-2026-44896

#POC DescriptionSource LinkShenlong Link
AI-Generated POCPremium

No public POC found.

Login to generate AI POC

III. Intelligence Information for CVE-2026-44896

登录查看更多情报信息。

Patches & Fixes for CVE-2026-44896 (1)

Vendor Advisories for CVE-2026-44896 (1)

Same Patch Batch · lepture · 2026-05-26 · 5 CVEs total

CVE-2026-448986.1 MEDIUMMistune TOC Anchor Injection XSS
CVE-2026-448976.1 MEDIUMMistune Heading ID Attribute Injection XSS
CVE-2026-447086.1 MEDIUMMistune Math Plugin XSS Escape Bypass
CVE-2026-448994.7 MEDIUMMistune Image Directive CSS Injection Vulnerability

IV. Related Vulnerabilities

V. Comments for CVE-2026-44896

No comments yet


Leave a comment