CVE-2026-32289
MediumCVSS 6.1Exploitation Probability (EPSS)
Low risk21th percentile - higher than 21% of all known CVEs
Summary
In Go, context was not properly tracked across template branches for JS template literals, leading to incorrect escaping. Template actions within JS template literals also did not track brace depth, causing improper escaping. These issues could lead to XSS vulnerabilities.
Risk Assessment
Applications using Go templates with JS template literals may be vulnerable to XSS attacks, allowing injection of malicious scripts into the user's browser.
Recommendation
Update the Go package to a version that includes fixes for these escaping issues in JS templates.
Original NVD description (English source)
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.

