Name
CVE-2026-27142
Description
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.
CWEs
Published Date
Updated Date
Workaround
-
Advisories
https://go.dev/cl/752081Mailing List
https://go.dev/issue/77954Issue Tracking
https://pkg.go.dev/vuln/GO-2026-4603Vendor Advisory
Analysis#
Vulnerability Ratings#
6.1
CVSSv31
NaN
other
Others affected components#
Name
Project
Project Version
Version
Status
openwrt
master
1.24.13-r1
Exploitable
openwrt
master
1.26.4-r1
Not Affected
openwrt
openwrt-25.12
1.24.13-r1
Exploitable
openwrt
openwrt-25.12
1.26.4-r1
Not Affected
yocto
master
1.26.4
Not Affected
yocto
master
1.26.4
Not Affected
yocto
scarthgap
1.22.12
Patched
yocto
scarthgap
1.22.12
Exploitable
Resolved with patches#
go (yocto:scarthgap)
#
Title
Author
Resolve
1
html/template: properly escape URLs in meta content
Roland Shoemaker <bracewell@google.com>
CVE-2026-27142