Cross-site scripting in Go programming language - CVE-2026-56858
Published: August 18, 2026
Vulnerability details
The vulnerability allows a remote attacker to inject arbitrary content, potentially leading to cross-site scripting.
The vulnerability exists due to improper neutralization of special elements in html/template when rendering pathological inputs that close an unescaped '/' early. A remote attacker can supply crafted input data to inject arbitrary content, potentially leading to cross-site scripting.
Affected software
Red Hat Enterprise Linux for x86_64
Red Hat Enterprise Linux for IBM z Systems
Red Hat Enterprise Linux for Power, little endian
Red Hat Enterprise Linux for ARM 64
golang (Red Hat package)
How to mitigate CVE-2026-56858
golang (Red Hat package) - addressed in versions 1.26.7-1.el9_8, 1.26.7-1.el10_2