CVE-2026-32289
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.
How to fix
- golang go1.25.9, 1.26.2 or later
- stdlib1.25.9, 1.26.2 or later
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| golang go | v < 1.25.9, 1.26.0 ≤ v < 1.26.2 | 1.25.9, 1.26.2 |
| stdlibGo | v < 1.25.9, 1.26.0-0 ≤ v < 1.26.2 | 1.25.9, 1.26.2 |
Check your version
Choose the product and enter the version you run to see whether it falls in the affected range.
Attack Surface Management
See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.