CVE-2026-27142

medium

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

https://pkg.go.dev/vuln/GO-2026-4603

https://groups.google.com/g/golang-announce/c/EdhZqrQ98hk

https://go.dev/issue/77954

https://go.dev/cl/752081

Details

Source: Mitre, NVD

Published: 2026-03-06

Updated: 2026-03-16

Risk Information

CVSS v2

Base Score: 7.8

Vector: CVSS2#AV:N/AC:L/Au:N/C:N/I:N/A:C

Severity: High

CVSS v3

Base Score: 6.1

Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N

Severity: Medium

EPSS

EPSS: 0.00028