{"id":"CVE-2026-27142","aliases":["CVE-2026-27142","GO-2026-4603","BIT-GOLANG-2026-27142"],"related":["CGA-g36f-884r-6gj3","RHSA-2026:5192","RHSA-2026:7291"],"kind":"vulnerability","state":"published","title":"URLs in meta content attribute actions are not escaped in html/template","summary":"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.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"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.","source":"cvelist"},{"lang":"es","text":"Acciones que insertan URLs en el atributo content de las etiquetas meta HTML no se escapan. Esto puede permitir XSS si la etiqueta meta también tiene un atributo http-equiv con el valor 'refresh'. Se ha añadido una nueva configuración GODEBUG, htmlmetacontenturlescape, que se puede usar para deshabilitar el escape de URLs en acciones en el atributo content de las etiquetas meta que siguen a 'url=' al establecer htmlmetacontenturlescape=0.","source":"nvd"}],"published":"2026-03-06T21:03:42.000Z","modified":"2026-09-08T08:47:49.644Z","severity":{"scorer":"CISA-ADP","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N","score":6.1,"rating":"MEDIUM"},"severities":[{"scorer":"CISA-ADP","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N","score":6.1,"rating":"MEDIUM"},{"scorer":"Bitnami Vulnerability Database","scheme":"rating","rating":"MEDIUM"}],"cwes":["CWE-79"],"affected":[{"ranges":[{"type":"semver","introduced":"0","fixed":"1.25.8","status":"affected"},{"type":"semver","introduced":"1.26.0-0","fixed":"1.26.1","status":"affected"}],"vendor":"Go standard library","product":"html/template","package":"html/template","source":"cvelist"},{"ranges":[{"type":"semver","introduced":"0","status":"affected","fixed":"1.25.8"},{"type":"semver","introduced":"1.26.0-0","status":"affected","fixed":"1.26.1"}],"ecosystem":"Go","package":"stdlib","purl":"pkg:golang/stdlib","source":"go"},{"ranges":[{"status":"affected","fixed":"1.25.8"},{"status":"affected","version":"1.26.0"}],"vendor":"golang","product":"go","cpe":"cpe:2.3:a:golang:go:*:*:*:*:*:*:*:*","source":"nvd"},{"ranges":[{"type":"semver","introduced":"0","status":"affected","fixed":"1.25.8"},{"type":"semver","introduced":"1.26.0-0","status":"affected","fixed":"1.26.1"}],"ecosystem":"Bitnami","package":"golang","purl":"pkg:bitnami/golang","source":"bitnami"}],"references":[{"url":"https://groups.google.com/g/golang-announce/c/EdhZqrQ98hk","tags":["article","release-notes","web"],"sources":["cvelist","go","nvd","bitnami"]},{"url":"https://go.dev/issue/77954","tags":["issue-tracking","report"],"sources":["cvelist","go","nvd","bitnami"]},{"url":"https://go.dev/cl/752081","tags":["discussion","fix","mailing-list"],"sources":["cvelist","go","nvd","bitnami"]},{"url":"https://pkg.go.dev/vuln/GO-2026-4603","tags":["advisory","vendor-advisory"],"sources":["cvelist","nvd","bitnami"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-27142","tags":["web"],"sources":["bitnami"]}],"credits":[],"assigner":"Go","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"no","technicalImpact":"partial","date":"2026-03-16T15:21:11.058Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-27142","url":"https://www.cve.org/CVERecord?id=CVE-2026-27142","licence":"CVE Terms of Use","modified":"2026-03-16T15:21:14.465Z"},{"source":"go","name":"Go Vulnerability Database","id":"GO-2026-4603","url":"https://pkg.go.dev/vuln/GO-2026-4603","licence":"CC-BY-4.0","modified":"2026-05-15T10:59:23.946Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-27142","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-27142","licence":"Public domain","modified":"2026-06-17T10:26:44.670Z"},{"source":"bitnami","name":"Bitnami Vulnerability Database","id":"BIT-GOLANG-2026-27142","url":"https://osv.dev/vulnerability/BIT-GOLANG-2026-27142","licence":"Apache-2.0","modified":"2026-09-08T08:47:49.644Z"}],"updatedAt":"2026-11-25T22:59:15.443Z","epss":{"score":0.00368,"percentile":0.32732,"date":"2026-12-01T12:00:22.000Z"}}