XSS in Golang Go
CVE-2026-39823
CVE-2026-27142 fixed a vulnerability in which URLs were not correctly escaped inside of a <meta> tag's <content> attribute. If the URL content were to insert ASCII whitespaces around the '=' rune inside of the <content> attribute, the escaper would fail to similarly escape it, 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.7th percentile (scored ); unchanged over 30 days. About EPSS.
Affected products
- Golang Go
- Go Standard Library Html/template — versions 0, 1.26.0-0
Weakness classification (CWE)
References
- go.dev/issue/78913 (Issue Tracking)
- go.dev/cl/769920 (Patch)
- groups.google.com/g/golang-announce/c/qcCIEXso47M (Release Notes)
- pkg.go.dev/vuln/GO-2026-4982 (Vendor Advisory)