{"id":"GO-2026-4980","revision":"f89f066af4474995af981f5eac630d2b","records":[{"revision":"f89f066af4474995af981f5eac630d2b","observedAt":"2026-10-24T13:19:41.952+00:00","statement":{"source":"osv","id":"GO-2026-4980","aliases":["BIT-golang-2026-39826","CVE-2026-39826"],"title":"Escaper bypass leads to XSS in html/template","description":"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.","state":0,"publishedAt":"2026-05-07T19:21:40+00:00","modifiedAt":"2026-08-31T10:25:58.4293721+00:00","affected":[{"ecosystem":"Go","name":"stdlib","ranges":[{"type":"SEMVER","events":[{"kind":"introduced","version":"0"},{"kind":"fixed","version":"1.25.10"},{"kind":"introduced","version":"1.26.0-0"},{"kind":"fixed","version":"1.26.3"}]}],"versions":[],"rawVersionEvidence":null}],"metrics":[],"references":["https://go.dev/issue/78981","https://go.dev/cl/771180","https://groups.google.com/g/golang-announce/c/qcCIEXso47M"],"sourceUrl":"https://osv.dev/vulnerability/GO-2026-4980","license":"OSV · upstream source license applies","key":"osv:GO-2026-4980","identifiers":["GO-2026-4980","BIT-golang-2026-39826","CVE-2026-39826"]},"retained":false,"historicalAffected":[]}],"coverage":[]}