CVE-2026-32289

Medium

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.

SeverityMedium
CVSS6.1
Exploit probability—
ProductGo
PublishedApr 8, 2026
First seenApr 8, 2026

How to fix

Update
  • golang go1.25.9, 1.26.2 or later
  • stdlib1.25.9, 1.26.2 or later

Affected products

ProductAffected versionsFixed in
golang gov < 1.25.9, 1.26.0 ≤ v < 1.26.21.25.9, 1.26.2
stdlibGov < 1.25.9, 1.26.0-0 ≤ v < 1.26.21.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.

In the Intelligence 360 plan

Attack Surface Management

See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.