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
13 May 2026, 16:59
| Type | Values Removed | Values Added |
|---|---|---|
| CWE | CWE-116 | |
| First Time |
Golang
Golang go |
|
| CPE | cpe:2.3:a:golang:go:*:*:*:*:*:*:*:* | |
| References | () https://go.dev/cl/771180 - Patch | |
| References | () https://go.dev/issue/78981 - Patch | |
| References | () https://groups.google.com/g/golang-announce/c/qcCIEXso47M - Release Notes | |
| References | () https://pkg.go.dev/vuln/GO-2026-4980 - Vendor Advisory |
08 May 2026, 15:16
| Type | Values Removed | Values Added |
|---|---|---|
| CVSS |
v2 : v3 : |
v2 : unknown
v3 : 6.1 |
07 May 2026, 20:16
| Type | Values Removed | Values Added |
|---|---|---|
| New CVE |
Information
Published : 2026-05-07 20:16
Updated : 2026-05-13 16:59
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
