Skip to content
High 8.7

mistune にパストラバーサルとXSSの脆弱性、任意ファイルを読まれるおそれ

CVE-2026-115355 First seen on SecPulse

Summary

mistune の 3.3.0 より前の版では、Include ディレクティブで「../」を含むパスを指定することで、攻撃者が任意のファイルを読み取れるおそれがあります。エラーメッセージや取り込まれたファイルの内容を通じてHTMLを挿入され、escape=True を設定していてもクロスサイトスクリプティングが成立する場合があります。3.3.0 以降の版に更新してください。

AI summary

Written by an external AI model and may contain mistakes. Check the original description and references below before acting on it.

mistune の 3.3.0 より前の版では、Include ディレクティブで「../」を含むパスを指定することで、攻撃者が任意のファイルを読み取れるおそれがあります。エラーメッセージや取り込まれたファイルの内容を通じてHTMLを挿入され、escape=True を設定していてもクロスサイトスクリプティングが成立する場合があります。3.3.0 以降の版に更新してください。

Affected packages

EcosystemPackageAffectedFixed
lepture mistune
< 3.3.0
3.3.0
Original description The description as published by the source.

Mistune before 3.3.0 contains a path traversal vulnerability in the Include directive that allows attackers to read arbitrary files by supplying ../ sequences in include paths. Attackers can also inject HTML through unescaped error messages and included file contents to perform cross-site scripting even when escape=True is set.

Source: CVE.org (CVE Program・cvelistV5) NVD GitHub Advisory

References

We use cookies for analytics and ad measurement. This setting applies to all Game co., Ltd. sites. Details