CVE-2026-32289
MEDIUMJsBraceDepth Context Tracking Bugs (XSS) in html/template
Title source: cnaDescription
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.
References (4)
Core 4
Scores
CVSS v3
6.1
EPSS
0.0001
EPSS Percentile
1.5%
Attack Vector
NETWORK
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
CISA SSVC
Vulnrichment
Exploitation
none
Automatable
no
Technical Impact
partial
Details
CWE
CWE-79
Status
published
Products (3)
Go standard library/html/template
< 1.25.9
Go standard library/html/template
1.26.0-0 - 1.26.2
golang/go
< 1.25.9
Published
Apr 08, 2026
Tracked Since
Apr 08, 2026