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.
Affected products
golang: go
References4
- pkg.go.dev/vuln/GO-2026-4980 Vendor Advisory
- go.dev/cl/771180 Patch
- go.dev/issue/78981 Patch
- groups.google.com/g/golang-announce/c/qcCIEXso47M Release Notes
Metrics
- CVSS 3.1
-
6.1
MEDIUM
Score source: CNA
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N - EPSS — exploit probability
- 0% percentile: 32 · as of 13 November 2026
- CWE
- CWE-116
Could this be exploited in your environment?
A patch closes the known hole. A penetration test shows what an attacker can still reach — with proof.