Vulnerability in Golang Go
CVE-2026-39826
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.
Published · last modified .
CVSS v3 metric
CVSS v3 base score 6.1 (Medium). Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N.
EPSS exploit prediction
EPSS 0.004, 31.5th percentile (scored ); unchanged over 30 days. About EPSS.
Affected products
- Golang Go
- Go Standard Library Html/template — versions 0, 1.26.0-0
Weakness classification (CWE)
References
- go.dev/issue/78981 (Patch)
- go.dev/cl/771180 (Patch)
- groups.google.com/g/golang-announce/c/qcCIEXso47M (Release Notes)
- pkg.go.dev/vuln/GO-2026-4980 (Vendor Advisory)