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.

References

https://pkg.go.dev/vuln/GO-2026-4865

https://groups.google.com/g/golang-announce/c/0uYbvbPZRWU

https://go.dev/issue/78331

https://go.dev/cl/763762

Details

Source: Mitre, NVD

Published: 2026-04-08

Updated: 2026-04-08

Risk Information

CVSS v2

Base Score: 4.3

Vector: CVSS2#AV:N/AC:M/Au:N/C:N/I:P/A:N

Severity: Medium

CVSS v3

Base Score: 6.1

Vector: CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N

Severity: Medium

EPSS

EPSS: 0.00011