blob: 53c60b4306538c244445a7f4b8828e55021455c5 [file] [edit]
{
"schema_version": "1.3.1",
"id": "GO-2026-6599",
"modified": "0001-01-01T00:00:00Z",
"published": "0001-01-01T00:00:00Z",
"aliases": [
"CVE-2026-94448"
],
"summary": "Reset context tracking on consecutive template expressions in html/template",
"details": "When a JavaScript template literal contains consecutive expressions, the context tracking state was not properly reset upon entering a new expression.\n\nWe now ensure that template-literal expression entries correctly reset context variables so all subsequent regular expression literals are accurately recognized and escaped.",
"affected": [
{
"package": {
"name": "stdlib",
"ecosystem": "Go"
},
"ranges": [
{
"type": "SEMVER",
"events": [
{
"introduced": "0"
},
{
"fixed": "1.26.9"
},
{
"introduced": "1.27.0-0"
},
{
"fixed": "1.27.2"
}
]
}
],
"ecosystem_specific": {
"imports": [
{
"path": "html/template",
"symbols": [
"Template.Execute",
"Template.ExecuteTemplate",
"tJSTmpl"
]
}
]
}
}
],
"references": [
{
"type": "FIX",
"url": "https://go.dev/cl/839866"
},
{
"type": "REPORT",
"url": "https://go.dev/issue/81821"
},
{
"type": "WEB",
"url": "https://groups.google.com/g/golang-announce/c/U2fTuyDJznI"
}
],
"database_specific": {
"url": "https://pkg.go.dev/vuln/GO-2026-6599",
"review_status": "REVIEWED"
}
}