CVE-2026-32289
JsBraceDepth Context Tracking Bugs (XSS) in html/template
6.1CVSSMEDIUM
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.
CVSS Vector Breakdown
Exploitability
AV:NAttack VectorNetwork
AC:LAttack ComplexityLow
PR:NPrivileges RequiredNone
UI:RUser InteractionRequired
Scope
S:CScopeChanged
Impact
C:LConfidentialityLow
I:LIntegrityLow
A:NAvailabilityNone
Weaknesses
Affected Products
go standard libraryoss-projectUSOSS Librariesaka golang standard library, net/http, crypto/x509, html/template
and 58 more affected products View all →
Attack Graph
Products CVE Techniques Tactics
Click technique nodes to view MITRE ATT&CK details. Scroll to zoom, drag to pan.
Exploitability
Official Patch Available
MITRE ATT&CK
2 techniques Execution
Initial Access
References
https://go.dev/cl/763762
go.dev
https://go.dev/issue/78331
go.dev
https://groups.google.com/g/golang-announce/c/0uYbvbPZRWU
groups.google.com
and 8 more references View all →
Timeline
Published
Apr 8, 2026
Last Updated
Apr 16, 2026
Unlock Complete Vulnerability Intelligence
Get the full picture for CVE-2026-32289 and every CVE in our database. Create a free account — no credit card required.
Create Free AccountPlain-language analysis
Impact assessment and exploitation scenario in plain English
Attack graph visualization
Interactive attack path and kill chain mapping
Exploit details & PoC links
ExploitDB, Metasploit, GitHub PoCs with direct links
Nuclei scanner templates
Ready-to-use vulnerability scanner templates
Full remediation guide
Patch instructions, workarounds, and compliance impact
Interactive AI chat
Ask questions about this vulnerability in natural language
Related vulnerabilities
Semantically similar CVEs and attack patterns
REST API & MCP access
Integrate vulnerability data into your workflows