Golang 1.10: Context was not properly tracked across template branches for JS template literals, leading to possibly
Affects golang-1.10Source GCVE Database
Not known to be exploited · CVSS 6.1 Medium.
Data as of 9 Nov 2026, 14:21 UTC
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:NExploitation evidence
Disclosed: evidence found.
CVE published 8 Apr 2026
Detectable: no evidence on record.
No public nuclei template indexed
Weaponized: no evidence on record.
No public exploit code indexed in Metasploit or Exploit-DB
Exploited in the wildExploited: no evidence on record.
Not in CISA KEV and no source reports exploitation
Observed by OffSeq MirageSeen by Mirage: no evidence on record.
No attack traffic recorded by OffSeq Mirage sensors
A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 9 Nov 2026.
What to do
Affected software
| Product | Affected | Fixed in |
|---|---|---|
Ubuntu 26.04 LTSgolang-1.23pkg:deb/ubuntu/golang-1.23?arch=source&distro=resoluteOther threats | Affected
| Fixed in– |
Ubuntu 26.04 LTSgolang-1.24pkg:deb/ubuntu/golang-1.24?arch=source&distro=resoluteOther threats | Affected
| Fixed in– |
Ubuntu 25.10golang-1.23pkg:deb/ubuntu/golang-1.23?arch=source&distro=questingOther threats | Affected
| Fixed in– |
Ubuntu 25.10golang-1.24pkg:deb/ubuntu/golang-1.24?arch=source&distro=questingOther threats | Affected
| Fixed in– |
Ubuntu 25.10golang-1.25pkg:deb/ubuntu/golang-1.25?arch=source&distro=questingOther threats | Affected
| Fixed in– |
Ubuntu 24.04 LTSgolang-1.21pkg:deb/ubuntu/golang-1.21?arch=source&distro=nobleOther threats | Affected
| Fixed in– |
Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.
AI-suggested
Until a fix is available, users should be cautious when using JS template literals in Golang templates and consider additional manual escaping or validation to mitigate potential XSS risks.
Description
A vulnerability in Golang 1.10 and certain related versions causes improper context tracking across template branches for JavaScript template literals. This leads to incorrect escaping of content within these templates, potentially resulting in cross-site scripting (XSS) vulnerabilities. The issue arises from incorrect tracking of brace depth within template actions inside JS template literals.
References
- ubuntu.com/security/CVE-2026-32289 (opens in a new tab)
- cve.org/CVERecord?id=CVE-2026-32289 (opens in a new tab)
- go.dev/cl/763762 (opens in a new tab)
- go.dev/issue/78331 (opens in a new tab)
- groups.google.com/g/golang-announce/c/0uYbvbPZRWU (opens in a new tab)
- pkg.go.dev/vuln/GO-2026-4865 (opens in a new tab)