BIT-golang-2026-27142

See a problem?
Import Source
https://github.com/bitnami/vulndb/tree/main/data/golang/BIT-golang-2026-27142.json
JSON Data
https://api.test.osv.dev/v1/vulns/BIT-golang-2026-27142
Aliases
Published
2026-03-10T08:44:16Z
Modified
2026-09-08T08:47:35Z
Summary
URLs in meta content attribute actions are not escaped in html/template
Details

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.

Database specific
{
    "cpes":  [
        "cpe:2.3:a:golang:go:*:*:*:*:*:*:*:*"
    ],
    "severity":  "Medium"
}
References

Affected packages

Bitnami / golang

Package

Name
golang
Purl
pkg:bitnami/golang

Severity

  • 6.1 (Medium) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N CVSS Calculator

Affected ranges

Type
SEMVER
Events
Introduced
0 Unknown introduced version / All previous versions are affected
Fixed
1.25.8
Introduced
1.26.0-0
Fixed
1.26.1

Database specific

source
"https://github.com/bitnami/vulndb/tree/main/data/golang/BIT-golang-2026-27142.json"