CVE-2026-27142

URLs in meta content attribute actions are not escaped in html/template

Medium · published March 6, 2026

CVSS v3.1
6.1
EPSS
0%
Percentile
26.9
In the wild
Unconfirmed
What it is

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.

The record
Technical detail
CVSS v3.1
6.1 · MEDIUM
Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
CVSS v4.0
Not supplied
EPSS
0.00346 · 26.9th percentile
Published
2026-03-06T21:28Z
EPSS history
Timeline
  • 06 MAR 21:28Z
    URLs in meta content attribute actions are not escaped in html/template
    cvelistv5