XSS in Go Standard Library Html/template
CVE-2026-56858
Previously, pathological inputs could close an unescaped '/' early, allowing for attack-controlled data to inject arbitrary content, potentially leading to XSS.
Vulnerability class: XSS (Cross-Site Scripting)
Published · last modified .
CVSS v3 metric
CVSS v3 base score 6.1 (Medium). Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N.
EPSS exploit prediction
EPSS 0.003, 24.1th percentile (last changed ); unchanged over 30 days. About EPSS.
Affected products
- Go Standard Library Html/template — versions 0, 1.26.0-0, 1.27.0-0