Python Software Foundationのcpythonにおける複数の脆弱性
| Title |
Python Software Foundationのcpythonにおける複数の脆弱性
|
| Summary |
http.cookies.Morsel.js_output() は、インラインの script スニペットを返しますが、JavaScript の文字列コンテキスト内で " のみをエスケープします。生成されたスクリプト要素内の HTML パーサーに敏感なシーケンス /script を無効化しません。緩和策として、クッキー値を base64 エンコードして、クッキー値によるエスケープの問題を防止します。
|
| Possible impacts |
当該ソフトウェアが扱う情報の一部が外部に漏れる可能性があります。 また、当該ソフトウェアが扱う情報の一部が書き換えられる可能性があります。 さらに、当該ソフトウェアは停止しません。 そして、この脆弱性を悪用した攻撃により、他のソフトウェアにも影響が及ぶ可能性があります。 |
| Solution |
正式な対策が公開されています。ベンダ情報を参照して適切な対策を実施してください。 |
| Publication Date |
April 22, 2026, midnight |
| Registration Date |
May 20, 2026, 1:25 p.m. |
| Last Update |
May 20, 2026, 1:25 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
| Python Software Foundation |
|
cpython 3.15.0 未満
|
CVE (情報セキュリティ 共通脆弱性識別子)
CWE (共通脆弱性タイプ一覧)
ベンダー情報
その他
Change Log
| No |
Changed Details |
Date of change |
| 1 |
[2026年05月20日] 掲載 |
May 20, 2026, 1:25 p.m. |
NVD Vulnerability Information
CVE-2026-6019
| Summary |
http.cookies.Morsel.js_output() returns an inline <script> snippet and only escapes " for JavaScript string context. It does not neutralize the HTML parser-sensitive sequence </script> inside the generated script element. Mitigation base64-encodes the cookie value to disallow escaping using cookie value.
|
| Publication Date |
April 23, 2026, 5:16 a.m. |
| Registration Date |
April 25, 2026, 4:06 a.m. |
| Last Update |
April 30, 2026, 1:16 a.m. |
Related information, measures and tools
Common Vulnerabilities List