| 概要 | 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. |
|---|---|
| 公表日 | 2026年5月27日6:16 |
| 登録日 | 2026年5月28日4:09 |
| 最終更新日 | 2026年5月28日22:43 |
| CVSS3.1 : MEDIUM | |
| スコア | 6.1 |
|---|---|
| ベクター | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N |
| 攻撃元区分(AV) | ネットワーク |
| 攻撃条件の複雑さ(AC) | 低 |
| 攻撃に必要な特権レベル(PR) | 不要 |
| 利用者の関与(UI) | 要 |
| 影響の想定範囲(S) | 変更あり |
| 機密性への影響(C) | 低 |
| 完全性への影響(I) | 低 |
| 可用性への影響(A) | なし |
| 構成1 | 以上 | 以下 | より上 | 未満 | |
| cpe:2.3:a:mistune_project:mistune:*:*:*:*:*:*:*:* | 3.2.0 | ||||
| タイトル | Mistune projectのMistuneにおけるクロスサイトスクリプティングの脆弱性 |
|---|---|
| 概要 | Mistuneはレンダラーとプラグインを備えたPythonのMarkdownパーサーです。バージョン3.2.0およびそれ以前のsrc/mistune/directives/image.py内のrender_figure()関数は、figclassとfigwidthオプションをエスケープせずに直接HTML属性に連結します。これにより、HTMLRenderer(escape=True)が使用されている場合でも、これらの値がインラインレンダラーを回避するため、属性インジェクションおよびXSSが可能になります。 |
| 想定される影響 | ・当該ソフトウェアが扱う情報の一部が外部に漏れる可能性があります。 ・当該ソフトウェアが扱う情報の一部が書き換えられる可能性があります。 ・当該ソフトウェアは停止しません。 |
| 対策 | ベンダ情報を参照して適切な対策を実施してください。 |
| 公表日 | 2026年5月26日0:00 |
| 登録日 | 2026年6月3日15:35 |
| 最終更新日 | 2026年6月3日15:35 |
| Mistune project |
| Mistune 3.2.0 およびそれ以前 |
| No | 変更内容 | 変更日 |
|---|---|---|
| 1 | [2026年06月03日] 掲載 |
2026年6月3日15:35 |