CVE-2026-94448: Go Standard Library Html/template
Medium severity, CVSS 6.1. EPSS: 0.3% probability of exploitation activity in the next 30 days.
When a JavaScript template literal contains consecutive expressions, the context tracking state was not properly reset upon entering a new expression. We now ensure that template-literal expression entries correctly reset context variables so all subsequent regular expression literals are accurately recognized and escaped.
What to do
The record states a fixed version for each range of affected versions. Update to the one for the range your version is in: a later release on another branch may not have the fix.
- Go Standard Library Html/template, before 1.26.9: fixed in 1.26.9
- Go Standard Library Html/template, from 1.27.0-0, before 1.27.2: fixed in 1.27.2
Affected products
- Go Standard Library Html/template: before 1.26.9 (fixed in 1.26.9); from 1.27.0-0, before 1.27.2 (fixed in 1.27.2)
Affected packages
- stdlib (Go)
Published 2026-10-08. Last modified 2026-10-15.