Mistune projectのMistuneにおけるクロスサイトスクリプティングの脆弱性
| Title |
Mistune projectのMistuneにおけるクロスサイトスクリプティングの脆弱性
|
| Summary |
Mistuneはレンダラーとプラグインを備えたPythonのMarkdownパーサーです。バージョン3.2.0およびそれ以前のsrc/mistune/directives/image.py内のrender_figure()関数は、figclassとfigwidthオプションをエスケープせずに直接HTML属性に連結します。これにより、HTMLRenderer(escape=True)が使用されている場合でも、これらの値がインラインレンダラーを回避するため、属性インジェクションおよびXSSが可能になります。
|
| Possible impacts |
・当該ソフトウェアが扱う情報の一部が外部に漏れる可能性があります。 ・当該ソフトウェアが扱う情報の一部が書き換えられる可能性があります。 ・当該ソフトウェアは停止しません。 |
| Solution |
ベンダ情報を参照して適切な対策を実施してください。 |
| Publication Date |
May 26, 2026, midnight |
| Registration Date |
June 3, 2026, 3:35 p.m. |
| Last Update |
June 3, 2026, 3:35 p.m. |
|
CVSS3.0 : 警告
|
| Score |
6.1
|
| Vector |
CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N |
Affected System
| Mistune project |
|
Mistune 3.2.0 およびそれ以前
|
CVE (情報セキュリティ 共通脆弱性識別子)
CWE (共通脆弱性タイプ一覧)
ベンダー情報
Change Log
| No |
Changed Details |
Date of change |
| 1 |
[2026年06月03日] 掲載 |
June 3, 2026, 3:35 p.m. |
NVD Vulnerability Information
CVE-2026-44896
| Summary |
Mistune is a Python Markdown parser with renderers and plugins. In 3.2.0 and realier, 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.
|
| Publication Date |
May 27, 2026, 6:16 a.m. |
| Registration Date |
May 28, 2026, 4:09 a.m. |
| Last Update |
May 28, 2026, 10:43 p.m. |
Affected software configurations
| Configuration1 |
or higher |
or less |
more than |
less than |
| cpe:2.3:a:mistune_project:mistune:*:*:*:*:*:*:*:* |
|
3.2.0 |
|
|
Related information, measures and tools
Common Vulnerabilities List