{"id":"BIT-golang-2026-27142","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.","aliases":["CVE-2026-27142","GO-2026-4603"],"modified":"2026-09-08T08:47:35.845194858Z","published":"2026-03-10T08:44:16.859Z","database_specific":{"severity":"Medium","cpes":["cpe:2.3:a:golang:go:*:*:*:*:*:*:*:*"]},"references":[{"type":"DISCUSSION","url":"https://go.dev/cl/752081"},{"type":"REPORT","url":"https://go.dev/issue/77954"},{"type":"ARTICLE","url":"https://groups.google.com/g/golang-announce/c/EdhZqrQ98hk"},{"type":"WEB","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-27142"},{"type":"ADVISORY","url":"https://pkg.go.dev/vuln/GO-2026-4603"}],"affected":[{"package":{"name":"golang","ecosystem":"Bitnami","purl":"pkg:bitnami/golang"},"ranges":[{"type":"SEMVER","events":[{"introduced":"0"},{"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"},"severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N"}]}],"schema_version":"1.9.0"}