Логотип exploitDog
Консоль
Логотип exploitDog

exploitDog

redhat логотип

CVE-2026-27142

Опубликовано: 06 мар. 2026
Источник: redhat
CVSS3: 5.4

Описание

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.

An input escaping flaw has been discovered in the golang html/template module. 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.

Меры по смягчению последствий

Mitigation for this issue is either not available or the currently available options do not meet the Red Hat Product Security criteria comprising ease of use and deployment, applicability to widespread installation base or stability.

Затронутые пакеты

ПлатформаПакетСостояниеРекомендацияРелиз
OpenShift Service Mesh 2openshift-golang-builder-containerFix deferred
OpenShift Service Mesh 3openshift-golang-builder-containerFix deferred
Red Hat Enterprise Linux 10golangFix deferred
Red Hat Enterprise Linux 8go-toolset:rhel8/golangFix deferred
Red Hat Enterprise Linux 9golangFix deferred
Red Hat Enterprise Linux AI (RHEL AI) 3golangFix deferred
Red Hat OpenShift Container Platform 4openshift-golang-builder-containerFix deferred
Red Hat OpenShift Virtualization 4openshift-golang-builder-containerFix deferred
Red Hat Hardened Imagesgolang1-25-main-1.25.8-1.1.hum1FixedRHSA-2026:519220.03.2026
Red Hat Hardened Imagesgolang1-26-main-1.26.2-1.hum1FixedRHSA-2026:729109.04.2026

Показывать по

Дополнительная информация

Статус:

Moderate
Дефект:
CWE-79
https://bugzilla.redhat.com/show_bug.cgi?id=2445351html/template: URLs in meta content attribute actions are not escaped in html/template

5.4 Medium

CVSS3

Связанные уязвимости

CVSS3: 6.1
ubuntu
5 месяцев назад

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.

CVSS3: 6.1
nvd
5 месяцев назад

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.

msrc
5 месяцев назад

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

CVSS3: 6.1
debian
5 месяцев назад

Actions which insert URLs into the content attribute of HTML meta tags ...

CVSS3: 7.5
github
5 месяцев назад

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.

5.4 Medium

CVSS3