Cross-site scripting in Go programming language - CVE-2026-32289

 

Cross-site scripting in Go programming language - CVE-2026-32289

Published: July 31, 2026


Vulnerability identifier: #VU140606
CSH Severity: Medium
CVSS v4 BT: 1.2 [CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:A/VC:N/VI:N/VA:N/SC:L/SI:L/SA:N/E:U/U:Green]
CVE-ID: CVE-2026-32289
CWE-ID: CWE-79
Exploitation vector: Remote access
Exploit availability: No public exploit available

Vulnerability details

The vulnerability allows a remote attacker to inject arbitrary script code.

The vulnerability exists due to improper neutralization of input during web page generation in html/template when processing template actions within JavaScript template literals. A remote attacker can supply crafted input that is incorrectly escaped to inject arbitrary script code.

Exploitation requires templates that use branches or actions within JavaScript template literals.


Affected software

Go programming language
SUSE Linux Enterprise Server 15 SP6
SUSE Linux Enterprise Server 15 SP5
SUSE Linux Enterprise Server 15 SP4
SUSE Linux Enterprise High Performance Computing LTSS 15
SUSE Linux Enterprise Server 15
SUSE Linux Enterprise High Performance Computing 15
SUSE Linux Enterprise High Performance Computing ESPOS 15
SUSE Linux Enterprise Server for SAP Applications 15
SUSE Linux Enterprise Desktop 15
SUSE Linux Enterprise Real Time 15
Development Tools Module
Anolis OS
golang-tests
golang-src
golang-misc
golang-docs
golang-shared
golang-bin
golang
go1.25-openssl-race
go1.25-openssl-doc
go1.25-openssl
go1.25-openssl-debuginfo
go1.25
go1.25-race
go1.25-doc
go1.26-openssl-race
go1.26-openssl
go1.26-openssl-doc
go1.26-race
go1.26-doc
go1.26

How to mitigate CVE-2026-32289

Install security update from vendor's website.

Go programming language - addressed in versions 1.25.9, 1.26.2
golang-tests - update to 1.25.9-1
golang-src - update to 1.25.9-1
golang-misc - update to 1.25.9-1
golang-docs - update to 1.25.9-1
golang-shared - update to 1.25.9-1
golang-bin - update to 1.25.9-1
golang - update to 1.25.9-1
go1.25-openssl-race - update to 1.25.9-150000.1.21.1
go1.25-openssl-doc - update to 1.25.9-150000.1.21.1
go1.25-openssl - update to 1.25.9-150000.1.21.1
go1.25-openssl-debuginfo - update to 1.25.9-150000.1.21.1
go1.25 - update to 1.25.9-150000.1.35.1
go1.25-race - update to 1.25.9-150000.1.35.1
go1.25-doc - update to 1.25.9-150000.1.35.1
go1.26-openssl-race - update to 1.26.2-150000.1.6.1
go1.26-openssl - update to 1.26.2-150000.1.6.1
go1.26-openssl-doc - update to 1.26.2-150000.1.6.1
go1.26-race - update to 1.26.2-150000.1.9.1
go1.26-doc - update to 1.26.2-150000.1.9.1
go1.26 - update to 1.26.2-150000.1.9.1

External References

Related Security Bulletins