← Back

CVE-2026-27142

nvd nist
Published: Mar 6, 2026Modified: Apr 21, 2026

JSON object

Loading...
6.1
Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
Exploitability: 2.8 / Impact: 2.7
Source: 134c704f-9b21-4f2e-91b3-4a467353bcc0 (Secondary)

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.

Affected (2)

Products: Golang: Go
1 product
Go
Configuration A
2 vulnerable
Vulnerable SoftwareAffected Versions
Golang
Before 1.25.8
Version 1.26.0

References (4)

Source: security@golang.org
Mailing List
Source: security@golang.org
Issue Tracking
Source: security@golang.org
Release Notes
Source: security@golang.org
Vendor Advisory

Timeline

No history available yet.