Skip to content

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

MediumCVSS 6.1 EPSS 0.37%
Published
Updated
Exploit status
No public exploit known
CISA SSVC
No known exploitation · automatable: no · technical impact: partial
Technology
UbuntuDebianRed Hat

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.

Upgrade path

33 packages: 9 fixed, 24 with no fix yet.

PackageAffectedFixed inStatus
azure linux golang(Azure Linux 3.0) All versions No fix listed No fix yet
cbl-mariner golang(CBL-Mariner 2.0) All versions No fix listed No fix yet
cbl-mariner msft-golang(CBL-Mariner 2.0) All versions No fix listed No fix yet
debian/golang-1.19(Debian 12) = 1.19.8-2; = 1.19.9-1; = 1.19.10-1; = 1.19.10-2 +9 more No fix listed No fix yet
debian/golang-1.24(Debian 13) = 1.24.4-1; = 1.24.4-2; = 1.24.4-3; = 1.24.4-4 +7 more No fix listed No fix yet
redhat/go-toolset:rhel8/golang(Red Hat enterprise_linux 8) All versions No fix listed No fix yet
redhat/golang(Red Hat enterprise_linux 10) All versions No fix listed No fix yet
redhat/golang(Red Hat enterprise_linux 9) All versions No fix listed No fix yet
redhat/golang(Red Hat enterprise_linux_ai 3) All versions No fix listed No fix yet
redhat/openshift-golang-builder-container(Red Hat container_native_virtualization 4) All versions No fix listed No fix yet
redhat/openshift-golang-builder-container(Red Hat openshift 4) All versions No fix listed No fix yet
redhat/openshift-golang-builder-container(Red Hat service_mesh 2) All versions No fix listed No fix yet
redhat/openshift-golang-builder-container(Red Hat service_mesh 3) All versions No fix listed No fix yet
redhat/rhai/base-image-neuron-rhel9:1793042008(Red Hat openshift_ai 3.4 el9) All versions No fix listed No fix yet
redhat/rhai/base-image-neuron-rhel9:1793042008(Red Hat openshift_ai 3.5 el9) All versions No fix listed No fix yet
ubuntu/golang-1.24(Ubuntu 22.04) All versions No fix listed No fix yet
ubuntu/golang-1.24(Ubuntu 24.04) All versions No fix listed No fix yet
ubuntu/golang-1.24(Ubuntu 26.04) All versions No fix listed No fix yet
ubuntu/golang-1.25(Ubuntu 22.04) All versions No fix listed No fix yet
ubuntu/golang-1.25(Ubuntu 24.04) All versions No fix listed No fix yet
ubuntu/golang-1.25(Ubuntu 26.04) All versions No fix listed No fix yet
ubuntu/golang-1.26(Ubuntu 24.04) All versions No fix listed No fix yet
ubuntu/golang-1.26(Ubuntu 26.04) All versions No fix listed No fix yet
ubuntu/golang-1.26(Ubuntu 26.10) All versions No fix listed No fix yet
alpine/go(Alpine v3.23) < 1.25.8-r0 1.25.8-r0 Fixed
alpine/go(Alpine v3.24) < 1.25.8-r0 1.25.8-r0 Fixed
alpine/rclone(Alpine v3.24) < 1.73.5-r0 1.73.5-r0 Fixed
debian/golang-1.26(Debian 14) < 1.26.1-1; = 1.26.0-1; = 1.26~rc2-1; = 1.26~rc3-1 +1 more 1.26.1-1 Fixed
golang go < 1.25.8; = 1.26.0 1.25.8 Fixed
html/template(Go) < 1.25.8; >= 1.26.0-0, < 1.26.1 1.25.8, 1.26.1 Fixed

… and 3 more packages.

Affected products

ProductAffected versionsFixed in
azure linux golang(Azure Linux:3.0) All versions No fix listed
cbl-mariner msft-golang(CBL-Mariner:2.0) All versions No fix listed
cbl-mariner golang(CBL-Mariner:2.0) All versions No fix listed
stdlib(Go) < 1.25.8 1.25.8
stdlib(Go) >= 1.26.0-0, < 1.26.1 1.26.1
html/template(Go) < 1.25.8 1.25.8
html/template(Go) >= 1.26.0-0, < 1.26.1 1.26.1
debian/golang-1.19(Debian:12) All versions No fix listed
debian/golang-1.19(Debian:12) = 1.19.10-1 No fix listed
debian/golang-1.19(Debian:12) = 1.19.10-2 No fix listed
debian/golang-1.19(Debian:12) = 1.19.11-1 No fix listed
debian/golang-1.19(Debian:12) = 1.19.12-1 No fix listed
debian/golang-1.19(Debian:12) = 1.19.12-2 No fix listed
debian/golang-1.19(Debian:12) = 1.19.12-2~bpo11+1 No fix listed
debian/golang-1.19(Debian:12) = 1.19.12-2~bpo12+1 No fix listed
debian/golang-1.19(Debian:12) = 1.19.13-1 No fix listed
debian/golang-1.19(Debian:12) = 1.19.13-1~bpo11+1 No fix listed
debian/golang-1.19(Debian:12) = 1.19.13-1~bpo12+1 No fix listed
debian/golang-1.19(Debian:12) = 1.19.8-2 No fix listed
debian/golang-1.19(Debian:12) = 1.19.9-1 No fix listed
debian/golang-1.24(Debian:13) All versions No fix listed
debian/golang-1.24(Debian:13) = 1.24.12-1 No fix listed
debian/golang-1.24(Debian:13) = 1.24.13-1 No fix listed
debian/golang-1.24(Debian:13) = 1.24.13-2 No fix listed
debian/golang-1.24(Debian:13) = 1.24.4-1 No fix listed
Show 37 more
ProductAffected versionsFixed in
debian/golang-1.24(Debian:13) = 1.24.4-2 No fix listed
debian/golang-1.24(Debian:13) = 1.24.4-3 No fix listed
debian/golang-1.24(Debian:13) = 1.24.4-4 No fix listed
debian/golang-1.24(Debian:13) = 1.24.7-1 No fix listed
debian/golang-1.24(Debian:13) = 1.24.8-1 No fix listed
debian/golang-1.24(Debian:13) = 1.24.9-1 No fix listed
debian/golang-1.26(Debian:14) < 1.26.1-1 1.26.1-1
debian/golang-1.26(Debian:14) = 1.26.0-1 No fix listed
debian/golang-1.26(Debian:14) = 1.26~rc2-1 No fix listed
debian/golang-1.26(Debian:14) = 1.26~rc3-1 No fix listed
debian/golang-1.26(Debian:14) = 1.26~rc3-2 No fix listed
redhat/golang1-25-main(Red Hat:hummingbird:1) < 1.25.8-1.1.hum1 1.25.8-1.1.hum1
redhat/golang1-26-main(Red Hat:hummingbird:1) < 1.26.2-1.hum1 1.26.2-1.hum1
redhat/rhai/base-image-neuron-rhel9:1793042008(Red Hat:openshift_ai:3.4::el9) All versions No fix listed
redhat/rhai/base-image-neuron-rhel9:1793042008(Red Hat:openshift_ai:3.5::el9) All versions No fix listed
redhat/openshift-golang-builder-container(Red Hat:service_mesh:2) All versions No fix listed
redhat/openshift-golang-builder-container(Red Hat:service_mesh:3) All versions No fix listed
redhat/golang(Red Hat:enterprise_linux:10) All versions No fix listed
redhat/go-toolset:rhel8/golang(Red Hat:enterprise_linux:8) All versions No fix listed
redhat/golang(Red Hat:enterprise_linux:9) All versions No fix listed
redhat/golang(Red Hat:enterprise_linux_ai:3) All versions No fix listed
redhat/openshift-golang-builder-container(Red Hat:openshift:4) All versions No fix listed
redhat/openshift-golang-builder-container(Red Hat:container_native_virtualization:4) All versions No fix listed
alpine/go(Alpine:v3.23) < 1.25.8-r0 1.25.8-r0
alpine/go(Alpine:v3.24) < 1.25.8-r0 1.25.8-r0
alpine/rclone(Alpine:v3.24) < 1.73.5-r0 1.73.5-r0
ubuntu/golang-1.24(Ubuntu:24.04) All versions No fix listed
ubuntu/golang-1.25(Ubuntu:24.04) All versions No fix listed
ubuntu/golang-1.26(Ubuntu:24.04) All versions No fix listed
ubuntu/golang-1.24(Ubuntu:26.04) All versions No fix listed
ubuntu/golang-1.25(Ubuntu:26.04) All versions No fix listed
ubuntu/golang-1.26(Ubuntu:26.04) All versions No fix listed
ubuntu/golang-1.26(Ubuntu:26.10) All versions No fix listed
golang go < 1.25.8 1.25.8
golang go = 1.26.0 No fix listed
ubuntu/golang-1.24(Ubuntu:22.04) All versions No fix listed
ubuntu/golang-1.25(Ubuntu:22.04) All versions No fix listed

References