CVE-2026-27142

MEDIUM

Go html/template - Meta Refresh URL Cross-Site Scripting

Title source: manual
STIX 2.1

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.

References (4)

Core 4

Scores

CVSS v3 6.1
EPSS 0.0001
EPSS Percentile 2.1%
Attack Vector NETWORK
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N

CISA SSVC

Vulnrichment
Exploitation none
Automatable no
Technical Impact partial

Details

CWE
CWE-79
Status published
Products (4)
Go standard library/html/template < 1.25.8
Go standard library/html/template 1.26.0-0 - 1.26.1
golang/go 1.26.0
golang/go < 1.25.8
Published Mar 06, 2026
Tracked Since Mar 07, 2026