{"id":"GO-2026-6599","summary":"Reset context tracking on consecutive template expressions in html/template","details":"When a JavaScript template literal contains consecutive expressions, the context tracking state was not properly reset upon entering a new expression.\n\nWe now ensure that template-literal expression entries correctly reset context variables so all subsequent regular expression literals are accurately recognized and escaped.","aliases":["CVE-2026-94448"],"modified":"2026-10-08T23:00:13.763315496Z","published":"2026-10-08T22:31:09Z","database_specific":{"url":"https://pkg.go.dev/vuln/GO-2026-6599","review_status":"REVIEWED"},"references":[{"type":"FIX","url":"https://go.dev/cl/839866"},{"type":"REPORT","url":"https://go.dev/issue/81821"},{"type":"WEB","url":"https://groups.google.com/g/golang-announce/c/U2fTuyDJznI"}],"affected":[{"package":{"name":"stdlib","ecosystem":"Go","purl":"pkg:golang/stdlib"},"ranges":[{"type":"SEMVER","events":[{"introduced":"0"},{"fixed":"1.26.9"},{"introduced":"1.27.0-0"},{"fixed":"1.27.2"}]}],"ecosystem_specific":{"imports":[{"path":"html/template","symbols":["Template.Execute","Template.ExecuteTemplate","tJSTmpl"]}]},"database_specific":{"source":"https://vuln.go.dev/ID/GO-2026-6599.json"}}],"schema_version":"1.9.0"}