製品・ソフトウェアに関する情報
The Go ProjectのGoにおけるエンコードおよびエスケープに関する脆弱性
Title The Go ProjectのGoにおけるエンコードおよびエスケープに関する脆弱性
Summary

信頼されたテンプレート作成者が空の'タイプ'属性またはASCII空白を含む'タイプ'属性を持つscriptタグを書くと、テンプレートの実行時にscriptブロックに渡されるデータが誤ってエスケープされる可能性があります。

Possible impacts 当該ソフトウェアが扱う情報の一部が外部に漏れる可能性があります。 また、当該ソフトウェアが扱う情報の一部が書き換えられる可能性があります。 さらに、当該ソフトウェアは停止しません。 そして、この脆弱性を悪用した攻撃により、他のソフトウェアにも影響が及ぶ可能性があります。 
Solution

正式な対策が公開されています。ベンダ情報を参照して適切な対策を実施してください。

Publication Date May 7, 2026, midnight
Registration Date May 15, 2026, 11:01 a.m.
Last Update May 15, 2026, 11:01 a.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
The Go Project
Go 1.25.10 未満
Go 1.26.0 以上 1.26.3 未満
CVE (情報セキュリティ 共通脆弱性識別子)
CWE (共通脆弱性タイプ一覧)
ベンダー情報
その他
Change Log
No Changed Details Date of change
1 [2026年05月15日]
  掲載
May 15, 2026, 11:01 a.m.

NVD Vulnerability Information
CVE-2026-39826
Summary

If a trusted template author were to write a <script> tag containing an empty 'type' attribute or a 'type' attribute with an ASCII whitespace, the execution of the template would incorrectly escape any data passed into the <script> block.

Publication Date May 8, 2026, 5:16 a.m.
Registration Date May 9, 2026, 4:10 a.m.
Last Update May 14, 2026, 1:59 a.m.
Affected software configurations
Configuration1 or higher or less more than less than
cpe:2.3:a:golang:go:*:*:*:*:*:*:*:* 1.25.10
cpe:2.3:a:golang:go:*:*:*:*:*:*:*:* 1.26.0 1.26.3
Related information, measures and tools
Common Vulnerabilities List