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.
EPSS: 0.000 (2.0th percentile) — read the EPSS interpretation.
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.
Affected products
- Golang Go
- Go Standard Library Html/template — versions 0, 1.26.0-0
Weakness classification (CWE)
References
- security@golang.org (Patch)
- security@golang.org (Patch)
- security@golang.org (Release Notes)
- security@golang.org (Vendor Advisory)
Frequently asked questions
- What is CVE-2026-39826?
- CVE-2026-39826 is a medium-severity vulnerability in Golang Go, classified under Improper Encoding or Escaping of Output. CVSS score: 6.1/10. Published 2026-05-07.
- How severe is CVE-2026-39826?
- Medium severity. CVSS v3 base score is 6.1 out of 10.