{"schema_version":"1.7.5","id":"GO-2026-4980","published":"2026-05-07T19:21:40Z","modified":"2026-08-31T10:25:58.429372080Z","aliases":["BIT-golang-2026-39826","CVE-2026-39826"],"related":["CGA-4mcr-6mw7-3w72","RHSA-2026:22112","RHSA-2026:22120","RHSA-2026:22121","RHSA-2026:23262","RHSA-2026:23264","RHSA-2026:49702","RHSA-2026:49712","RHSA-2026:57649","RHSA-2026:61253"],"summary":"Escaper bypass leads to XSS in html/template","details":"If a trusted template author were to write a <script> tag containing an empty 'type' attribute or a 'type' attribute with an ASCII whitespace, the execution of the template would incorrectly escape any data passed into the <script> block.","affected":[{"package":{"name":"stdlib","ecosystem":"Go","purl":"pkg:golang/stdlib"},"ranges":[{"type":"SEMVER","events":[{"introduced":"0"},{"fixed":"1.25.10"},{"introduced":"1.26.0-0"},{"fixed":"1.26.3"}]}],"ecosystem_specific":{"imports":[{"path":"html/template","symbols":["Template.Execute","Template.ExecuteTemplate","isJSType"]}]},"database_specific":{"source":"https://vuln.go.dev/ID/GO-2026-4980.json"}}],"references":[{"type":"REPORT","url":"https://go.dev/issue/78981"},{"type":"FIX","url":"https://go.dev/cl/771180"},{"type":"WEB","url":"https://groups.google.com/g/golang-announce/c/qcCIEXso47M"}],"database_specific":{"review_status":"REVIEWED","url":"https://pkg.go.dev/vuln/GO-2026-4980"},"credits":[{"name":"Mundur (https://github.com/M0nd0R)"}]}