{"id":"GO-2026-6091","revision":"5ac03fe744f74ae3a9a76ab0922c7f34","records":[{"revision":"5ac03fe744f74ae3a9a76ab0922c7f34","observedAt":"2026-10-24T13:19:41.952+00:00","statement":{"source":"osv","id":"GO-2026-6091","aliases":["BIT-golang-2026-56858","CVE-2026-56858"],"title":"Fix Javascript regexp context tracking in html/template","description":"Previously, pathological inputs could close an unescaped '/' early, allowing for attack-controlled data to inject arbitrary content, potentially leading to XSS.","state":0,"publishedAt":"2026-08-13T21:43:54+00:00","modifiedAt":"2026-10-20T10:42:25.2863799+00:00","affected":[{"ecosystem":"Go","name":"stdlib","ranges":[{"type":"SEMVER","events":[{"kind":"introduced","version":"0"},{"kind":"fixed","version":"1.25.13"},{"kind":"introduced","version":"1.26.0-0"},{"kind":"fixed","version":"1.26.6"},{"kind":"introduced","version":"1.27.0-0"},{"kind":"fixed","version":"1.27.0-rc.3"}]}],"versions":[],"rawVersionEvidence":null}],"metrics":[],"references":["https://go.dev/issue/80435","https://go.dev/cl/807100","https://groups.google.com/g/golang-announce/c/94pEornpRlI"],"sourceUrl":"https://osv.dev/vulnerability/GO-2026-6091","license":"OSV · upstream source license applies","key":"osv:GO-2026-6091","identifiers":["GO-2026-6091","BIT-golang-2026-56858","CVE-2026-56858"]},"retained":false,"historicalAffected":[]}],"coverage":[]}