{"id":"CVE-2026-27142","published":"2026-03-06T21:28:14Z","modified":"2026-03-16T15:21:14Z","title":"URLs in meta content attribute actions are not escaped in html/template","vendor":"Go standard library","product":"html/template","tier":"tail","description":{"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":6.1,"severity":"MEDIUM","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N","provenance":"source","from":"CISA ADP Vulnrichment"},"epss":{"score":0.00374,"percentile":0.32178,"provenance":"source"},"cwes":[],"references":[{"url":"https://groups.google.com/g/golang-announce/c/EdhZqrQ98hk","tags":[]},{"url":"https://go.dev/issue/77954","tags":[]},{"url":"https://go.dev/cl/752081","tags":[]},{"url":"https://pkg.go.dev/vuln/GO-2026-4603","tags":[]}],"priority":{"score":10.7,"factors":[{"name":"EPSS percentile","points":6.44},{"name":"CVSS severity","points":4.27}]},"vendorSlug":"go-standard-library","affectedVersions":[{"vendor":"Go standard library","product":"html/template","versions":["< 1.25.8",">= 1.26.0-0, < 1.26.1"]}],"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial","timestamp":"2026-03-16T15:21:11.058826Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"Go","package":"stdlib","vulnerableRanges":["<1.25.8",">=1.26.0-0, <1.26.1"],"patched":["1.25.8","1.26.1"],"from":["GO-2026-4603"],"provenance":"source"}],"summary":{"text":"The html/template package in the Go standard library does not escape URLs inserted through actions into the content attribute of HTML meta tags. An attacker who can influence that URL can exploit this to trigger cross-site scripting, but only when the meta tag also carries an http-equiv attribute set to \"refresh\" and the victim must interact with the page (user interaction is required, and the attack is reachable over the network without authentication).","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T22:04:48Z"},"euvd":{"id":"EUVD-2026-10088","exploited":false,"provenance":"source"},"lineage":{"packageHistory":[{"cve":"CVE-2025-68121","published":"2026-02-05","fixed":"1.26.0-rc.3","kev":false,"link":{"from":"CVE-2025-68121","to":"CVE-2026-27142","relation":"successor","confidence":"low","kind":"sequence","evidence":[{"kind":"version-step","provenance":"source","package":"Go:stdlib","fromFixed":"1.25.7","toFixed":"1.25.8","daysApart":29}]}},{"cve":"CVE-2026-27137","published":"2026-03-06","fixed":"1.26.1","kev":false},{"cve":"CVE-2026-27138","published":"2026-03-06","fixed":"1.26.1","kev":false},{"cve":"CVE-2026-27139","published":"2026-03-06","fixed":"1.26.1","kev":false},{"cve":"CVE-2026-27142","published":"2026-03-06","fixed":"1.26.1","kev":false},{"cve":"CVE-2026-32280","published":"2026-04-08","fixed":"1.26.2","kev":false},{"cve":"CVE-2026-32281","published":"2026-04-08","fixed":"1.26.2","kev":false},{"cve":"CVE-2026-32282","published":"2026-04-08","fixed":"1.26.2","kev":false}],"package":"Go:stdlib"}}