{"id":"CVE-2026-56858","published":"2026-08-13T21:58:53Z","modified":"2026-08-14T15:32:29Z","title":"Fix Javascript regexp context tracking in html/template","vendor":"Go standard library","product":"html/template","tier":"tail","description":{"text":"Previously, pathological inputs could close an unescaped '/' early, allowing for attack-controlled data to inject arbitrary content, potentially leading to XSS.","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.00338,"percentile":0.19695,"provenance":"source"},"cwes":[{"id":"CWE-79","name":"Improper Neutralization of Input During Web Page Generation"}],"references":[{"url":"https://go.dev/issue/80435","tags":[]},{"url":"https://go.dev/cl/807100","tags":[]},{"url":"https://groups.google.com/g/golang-announce/c/94pEornpRlI","tags":[]},{"url":"https://pkg.go.dev/vuln/GO-2026-6091","tags":[]}],"priority":{"score":8.2,"factors":[{"name":"EPSS percentile","points":3.94},{"name":"CVSS severity","points":4.27}]},"vendorSlug":"go-standard-library","affectedVersions":[{"vendor":"Go standard library","product":"html/template","versions":["< 1.25.13",">= 1.26.0-0, < 1.26.6",">= 1.27.0-0, < 1.27.0-rc.3"]}],"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial","timestamp":"2026-08-14T15:31:30.140536Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"Go","package":"stdlib","vulnerableRanges":["<1.25.13",">=1.26.0-0, <1.26.6",">=1.27.0-0, <1.27.0-rc.3"],"patched":["1.25.13","1.26.6","1.27.0-rc.3"],"from":["GO-2026-6091"],"provenance":"source"}],"summary":{"text":"The html/template package in the Go standard library mishandles JavaScript regular expression context tracking, so an unescaped forward slash can be closed early by specially crafted input. An attacker who can supply data that is rendered into a template can use this to inject arbitrary content into the page, enabling cross-site scripting; the attack requires a user to interact with the affected page.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T22:08:36Z"},"euvd":{"id":"EUVD-2026-58512","exploited":false,"provenance":"source"}}