blob: 2df168218532e7f870a20519199594117ce9b9a1 [file] [log] [blame]
{
"schema_version": "1.3.1",
"id": "GO-2023-1752",
"modified": "0001-01-01T00:00:00Z",
"published": "0001-01-01T00:00:00Z",
"aliases": [
"CVE-2023-24540"
],
"summary": "Improper handling of JavaScript whitespace in html/template",
"details": "Not all valid JavaScript whitespace characters are considered to be whitespace. Templates containing whitespace characters outside of the character set \"\\t\\n\\f\\r\\u0020\\u2028\\u2029\" in JavaScript contexts that also contain actions may not be properly sanitized during execution.",
"affected": [
{
"package": {
"name": "stdlib",
"ecosystem": "Go"
},
"ranges": [
{
"type": "SEMVER",
"events": [
{
"introduced": "0"
},
{
"fixed": "1.19.9"
},
{
"introduced": "1.20.0-0"
},
{
"fixed": "1.20.4"
}
]
}
],
"ecosystem_specific": {
"imports": [
{
"path": "html/template",
"symbols": [
"Template.Execute",
"Template.ExecuteTemplate",
"nextJSCtx"
]
}
]
}
}
],
"references": [
{
"type": "REPORT",
"url": "https://go.dev/issue/59721"
},
{
"type": "FIX",
"url": "https://go.dev/cl/491616"
},
{
"type": "WEB",
"url": "https://groups.google.com/g/golang-announce/c/MEb0UyuSMsU"
}
],
"credits": [
{
"name": "Juho Nurminen of Mattermost"
}
],
"database_specific": {
"url": "https://pkg.go.dev/vuln/GO-2023-1752",
"review_status": "REVIEWED"
}
}