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.
Configurations

Configuration 1 (hide)

OR cpe:2.3:a:golang:go:*:*:*:*:*:*:*:*
cpe:2.3:a:golang:go:1.26.0:*:*:*:*:*:*:*

History

No history.

Information

Published : 2026-03-06 22:16

Updated : 2026-06-17 10:26


NVD link : CVE-2026-27142

Mitre link : CVE-2026-27142

CVE.ORG link : CVE-2026-27142


JSON object : View

Products Affected

golang

  • go
CWE
CWE-79

Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')