CVE-2026-94448: Go standard library html/template · Cross-site Scripting
Affects Go standard library html/templateSource CVE Database V5
Not known to be exploited · CVSS 6.1 Medium : upgrade to 1.27.2 or 1.26.9 when convenient.
Data as of 17 Nov 2026, 20:25 UTC
- EPSS
- 0.2% chance of exploitation in 30 days – higher than 21% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
- Patch
- Available – fixed in 1.27.2, 1.26.9
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 Oct 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 17 Nov 2026.
What to do
Upgrade Go standard library html/template to 1.27.2 or 1.26.9.
Affected software
| Product | Affected | Fixed in |
|---|---|---|
| Go standard libraryhtml/template | Affected
| Fixed in
|
| Go standard libraryhtml/template | Affected
| Fixed in
|
Gohtml/templatepkg:golang/html/templateOther 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
The vulnerability affects Go standard library html/template versions >=0 <1.26.9 and >=1.27.0-0 <1.27.2. Users should upgrade to versions 1.26.9 or later, or 1.27.2 or later, where the context tracking state reset issue has been fixed. No vendor advisory or patch links were provided in the input, so users should consult the official Go project releases for the relevant patches and updates.
Description
CVE-2026-94448 is a medium severity cross-site scripting (XSS) vulnerability in the Go standard library's html/template package. The issue arises when JavaScript template literals contain consecutive expressions, causing improper context tracking and failure to reset state correctly. This flaw can lead to insufficient escaping of regular expression literals within templates, potentially allowing injection of malicious scripts.