CVE-2026-32289

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.

Score
CVSS 3.1 6.1 Medium
Status
Analyzed - security@golang.org
Published
2026-04-08
Last modified
2026-04-13
Weaknesses
CWE-79

Affected products

References