CVE-2026-27142: Golang Go

Medium severity, CVSS 6.1. EPSS: 0.3% chance of exploitation in the next 30 days.

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.

Affected products

  • Golang Go: before 1.25.8 (fixed in 1.25.8); version 1.26.0 only

Published 2026-03-06. Last modified 2026-06-17.