VulnWatch by ve1ve2
medium 6.1 EPSS 0.29%

GO-2026-6599: Reset context tracking on consecutive template expressions in html/template

Source:
OSV.dev
Published:
Fetched:
Updated:
Affects:
stdlib

https://osv.dev/vulnerability/GO-2026-6599 ↗

osvgofix-available

Reset context tracking on consecutive template expressions in html/template 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. Affected: Go:stdlib Fixed in: 1.26.9, 1.27.2 References: https://go.dev/cl/839866 https://go.dev/issue/81821 https://groups.google.com/g/golang-announce/c/U2fTuyDJznI

Linked vulnerabilities (1)

CVE-2026-94448 medium 6.1 EPSS 0.29% (p22) NVDCVE.org
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N

Reset context tracking on consecutive template expressions in html/template

CWE: CWE-79NVD: Awaiting Analysis