Go standard library · Go · published 2026-03-06

CVE-2026-27142URLs in meta content attribute actions are not escaped in html/template

Routine No exploitation evidence; EPSS 0.4%.

CVE-2026-27142 is not known to be exploited in the wild. EPSS estimates a 0.4% chance of exploitation in the next 30 days, higher than 32% of all CVEs. This Go vulnerability: CVSS 6.1 (v3.1). Fixed upstream in Go 1.26.1, 1.25.8. Routine: patch when convenient.

Share this

Remediation#

Fixed upstream in Go 1.26.1, 1.25.8.

Patch events

  1. This monthSecurity release

    Language runtimeGo

    Go security releases: 1.26.1, 1.25.8

    Upgrade to 1.26.11.25.8

    Why: Vendor security release for server software (most severe: CVE-2026-25679).

Exploit intelligence#

SignalValueSource
Known exploitedNoCISA KEV
Ransomware use—CISA KEV
EPSS (30-day exploitation probability)0.4% (32th pct)FIRST EPSS v2026.06.15
CVSS base score6.1 (v3.1)
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
CNA / CISA ADP
SSVC exploitationnoneCISA Vulnrichment
SSVC automatableNoCISA Vulnrichment
SSVC technical impactpartialCISA Vulnrichment

Affected versions (from the CVE record)#

Description (from the CVE record)#

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.

Quoted from the CVE Program record.

Elsewhere#

Distro status: Debian · Ubuntu · Red Hat · Alpine

Something wrong on this page?
Anonymous. Reports are checked against the primary source.

Also on today's list

See today's list → · Coming up →