CVE-2026-27142
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.
Published:Mar 6, 2026
Last Modified:Apr 21, 2026
EPS:Mar 6, 2026
EPSS Score:0.00015
CVSS Score:6.1
Affected Products
Vendor
Product
Action
Vendor
Go Standard Library
Product
Html/template
Go Standard Library
Html/template
Vendor
Golang
Product
Go
Golang
Go
Exploits
No exploit reference
Common Weakness Enumeration
Common Attack Pattern Enumeration and Classification (CAPEC)
Common Vulnerability Scoring System
Attack Vector
Network
Adjacent
Local
Physical
Privileges Required
None
Low
High
User Interaction
None
Required
Scope
Unchanged
Changed
Confidentiality
None
Low
High
Integrity
None
Low
High
Availability
None
Low
High
