{"id":"GO-2026-6091","summary":"Fix Javascript regexp context tracking in html/template","details":"Previously, pathological inputs could close an unescaped '/' early, allowing for attack-controlled data to inject arbitrary content, potentially leading to XSS.","aliases":["BIT-golang-2026-56858","CVE-2026-56858"],"modified":"2026-09-09T10:41:45.366511365Z","published":"2026-08-13T21:43:54Z","related":["RHSA-2026:54835","RHSA-2026:54836","RHSA-2026:60304","RHSA-2026:60305","RHSA-2026:60306","RHSA-2026:61882","RHSA-2026:62404","RHSA-2026:62405","RHSA-2026:62406","RHSA-2026:62407","RHSA-2026:62602","RHSA-2026:62753","RHSA-2026:62754","RHSA-2026:62803","RHSA-2026:63022","RHSA-2026:63119","RHSA-2026:63124","RHSA-2026:63130","RHSA-2026:63136","RHSA-2026:63163","RHSA-2026:63332","RHSA-2026:64777","RHSA-2026:64818","RHSA-2026:65116","RHSA-2026:65117","RHSA-2026:65153","RHSA-2026:65335","RHSA-2026:65336","RHSA-2026:65359","RHSA-2026:65534"],"database_specific":{"review_status":"REVIEWED","url":"https://pkg.go.dev/vuln/GO-2026-6091"},"references":[{"type":"REPORT","url":"https://go.dev/issue/80435"},{"type":"FIX","url":"https://go.dev/cl/807100"},{"type":"WEB","url":"https://groups.google.com/g/golang-announce/c/94pEornpRlI"}],"affected":[{"package":{"name":"stdlib","ecosystem":"Go","purl":"pkg:golang/stdlib"},"ranges":[{"type":"SEMVER","events":[{"introduced":"0"},{"fixed":"1.25.13"},{"introduced":"1.26.0-0"},{"fixed":"1.26.6"},{"introduced":"1.27.0-0"},{"fixed":"1.27.0-rc.3"}]}],"ecosystem_specific":{"imports":[{"symbols":["Template.Execute","Template.ExecuteTemplate","tJS"],"path":"html/template"}]},"database_specific":{"source":"https://vuln.go.dev/ID/GO-2026-6091.json"}}],"schema_version":"1.9.0","credits":[{"name":"Ali Sherif"}]}