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.
Fix
Patch, vendor advisory and mitigation references on NVD 3
- https://go.dev/cl/771180 Patch
- https://go.dev/issue/78981 Patch
- https://pkg.go.dev/vuln/GO-2026-4980 Vendor Advisory
Every line above is quoted from NVD, CISA, Microsoft, the vendor's own advisory or DISA; nothing is generated.
Change history 1
- First seenCVSS 6.1 · golangNVD modified 2026-10-26 20:10
Affected (CPE criteria) 1
cpe:2.3:a:golang:go:*:*:*:*:*:*:*:*
References 4
- https://go.dev/cl/771180 Patch
- https://go.dev/issue/78981 Patch
- https://groups.google.com/g/golang-announce/c/qcCIEXso47M Release Notes
- https://pkg.go.dev/vuln/GO-2026-4980 Vendor Advisory