URLs in meta content attribute actions are not escaped in html/template
cve-program · CVE-2026-27142
PublishedActions 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.
Read the publisher's advisoryeuvd · EUVD-2026-10088
PublishedActions 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.
Read the publisher's advisorynvd · CVE-2026-27142
PublishedActions 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.
Read the publisher's advisoryosv · GO-2026-4603
PublishedActions 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.
Read the publisher's advisoryAffected versions, risk and source history
Related advisories and sources
Publishers link these advisories through the identifiers shown below. A shared identifier or date alone does not tell you whether your software is affected or whether the advisories describe the same cause.
CVE-2026-27142 · CVE overview and exploitation status
cve-program · CVE-2026-27142
- https://groups.google.com/g/golang-announce/c/EdhZqrQ98hk
- https://go.dev/issue/77954
- https://go.dev/cl/752081
- https://pkg.go.dev/vuln/GO-2026-4603
euvd · EUVD-2026-10088
- https://groups.google.com/g/golang-announce/c/EdhZqrQ98hk
- https://go.dev/issue/77954
- https://go.dev/cl/752081
- https://pkg.go.dev/vuln/GO-2026-4603
nvd · CVE-2026-27142
- https://go.dev/cl/752081
- https://go.dev/issue/77954
- https://groups.google.com/g/golang-announce/c/EdhZqrQ98hk
- https://pkg.go.dev/vuln/GO-2026-4603
osv · GO-2026-4603
Related changes
Linked by CVE identifier- 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, htmlmetacontenturles… · Advisory content revised · 15 Nov 2026
- Release 2026-05-29 · Tool release · 4 Jun 2026
- Release 2026-04-02 · Tool release · 9 Apr 2026