CVE-2026-27142
MEDIUMGo html/template - Meta Refresh URL Cross-Site Scripting
Title source: manualDescription
Actions which insert URLs into the content attribute of HTML meta tags are not escaped. This can allow XSS if the meta tag also has an http-equiv attribute with the value "refresh". A new GODEBUG setting has been added, htmlmetacontenturlescape, which can be used to disable escaping URLs in actions in the meta content attribute which follow "url=" by setting htmlmetacontenturlescape=0.
References (4)
Core 4
Core References
Various Sources
https://go.dev/cl/752081
Issue Tracking
https://go.dev/issue/77954
Various Sources
https://pkg.go.dev/vuln/GO-2026-4603
Scores
CVSS v3
6.1
EPSS
0.0001
EPSS Percentile
2.1%
Attack Vector
NETWORK
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
CISA SSVC
Vulnrichment
Exploitation
none
Automatable
no
Technical Impact
partial
Details
CWE
CWE-79
Status
published
Products (4)
Go standard library/html/template
< 1.25.8
Go standard library/html/template
1.26.0-0 - 1.26.1
golang/go
1.26.0
golang/go
< 1.25.8
Published
Mar 06, 2026
Tracked Since
Mar 07, 2026