CVEvulnerability
CVE-2026-32289
6.1 MEDIUM
Official page ↗
- Status
- Analyzed
- Published
- 2026-04-08
- Last modified
- 2026-07-25
- Assigner
- [email protected]
- CVSS 3.1 ([email protected])
- 6.1 MEDIUM — CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
- 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-79
Description
Context was not properly tracked across template branches for JS template literals, leading to possibly incorrect escaping of content when branches were used. Additionally template actions within JS template literals did not properly track the brace depth, leading to incorrect escaping being applied. These issues could cause actions within JS template literals to be incorrectly or improperly escaped, leading to XSS vulnerabilities.
Affected configurations
• golang go (< 1.25.9)
• golang go (>= 1.26.0 < 1.26.2)
Related
Weakness · CWE (1)
- CWE-79 Improper Neutralization of Input During Web Page Generation weakness
References
- https://go.dev/cl/763762 Patch
- https://go.dev/issue/78331 Issue Tracking
- https://groups.google.com/g/golang-announce/c/0uYbvbPZRWU Mailing List, Release Notes
- https://pkg.go.dev/vuln/GO-2026-4865 Vendor Advisory