CVEvulnerability
CVE-2026-39826
6.1 MEDIUM
Official page ↗
- Status
- Analyzed
- Published
- 2026-05-07
- Last modified
- 2026-10-26
- Assigner
- [email protected]
- CVSS 3.1 (134c704f-9b21-4f2e-91b3-4a467353bcc0)
- 6.1 MEDIUM — CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
- Weaknesses
- CWE-116
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 configurations
• golang go (< 1.25.10)
• golang go (>= 1.26.0 < 1.26.3)
Related
Weakness · CWE (1)
- CWE-116 Improper Encoding or Escaping of Output weakness
References
- 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