| タイトル | Mistune projectのMistuneにおけるクロスサイトスクリプティングの脆弱性 |
|---|---|
| 概要 | Mistuneはレンダラーとプラグインを備えたPython製Markdownパーサーです。バージョン3.2.1以前のHTMLRenderer.heading()は、id属性の値を直接文字列連結してhNタグを生成しており、escape()、safe_entity()、その他のサニタイズ関数を呼び出していませんでした。id値に含まれる二重引用符 " は属性の終了を引き起こし、攻撃者が任意の追加属性(イベントハンドラ、src=、href=など)を見出し要素に注入できる可能性がありました。この脆弱性はバージョン3.2.1で修正されました。 |
| 想定される影響 | ・当該ソフトウェアが扱う情報の一部が外部に漏れる可能性があります。 ・当該ソフトウェアが扱う情報の一部が書き換えられる可能性があります。 ・当該ソフトウェアは停止しません。 |
| 対策 | ベンダ情報を参照して適切な対策を実施してください。 |
| 公表日 | 2026年5月26日0:00 |
| 登録日 | 2026年6月3日15:35 |
| 最終更新日 | 2026年6月3日15:35 |
| CVSS3.0 : 警告 | |
| スコア | 6.1 |
|---|---|
| ベクター | CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N |
| Mistune project |
| Mistune 3.2.1 未満 |
| No | 変更内容 | 変更日 |
|---|---|---|
| 1 | [2026年06月03日] 掲載 |
2026年6月3日15:35 |
| 概要 | Mistune is a Python Markdown parser with renderers and plugins. Prior to 3.2.1, HTMLRenderer.heading() builds the opening <hN> tag by string-concatenating the id attribute value directly into the HTML — with no call to escape(), safe_entity(), or any other sanitisation function. A double-quote character " in the id value terminates the attribute, allowing an attacker to inject arbitrary additional attributes (event handlers, src=, href=, etc.) into the heading element. This vulnerability is fixed in 3.2.1. |
|---|---|
| 公表日 | 2026年5月27日6:16 |
| 登録日 | 2026年5月28日4:09 |
| 最終更新日 | 2026年5月28日22:42 |
| 構成1 | 以上 | 以下 | より上 | 未満 | |
| cpe:2.3:a:mistune_project:mistune:*:*:*:*:*:*:*:* | 3.2.1 | ||||