CVE-2026-27142

Medium

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.

SeverityMedium
CVSS6.1
Exploit probability—
ProductGo
PublishedMar 6, 2026
First seenMar 6, 2026

How to fix

Update
  • golang go1.25.8 or later
  • stdlib1.25.8, 1.26.1 or later

Affected products

ProductAffected versionsFixed in
golang gov < 1.25.8, 1.26.01.25.8
stdlibGov < 1.25.8, 1.26.0-0 ≤ v < 1.26.11.25.8, 1.26.1

Check your version

Choose the product and enter the version you run to see whether it falls in the affected range.

In the Intelligence 360 plan

Attack Surface Management

See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.