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.
References
| Link | Resource |
|---|---|
| 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 |
Configurations
History
No history.
Information
Published : 2026-05-07 20:16
Updated : 2026-06-17 10:42
NVD link : CVE-2026-39826
Mitre link : CVE-2026-39826
CVE.ORG link : CVE-2026-39826
JSON object : View
Products Affected
golang
- go
CWE
CWE-116
Improper Encoding or Escaping of Output
