blob: 8284c11b5f34c6f4dc4fbf1a0765f65d2d8a85bd [file] [log] [blame]
{
"schema_version": "1.3.1",
"id": "GO-2023-1753",
"modified": "0001-01-01T00:00:00Z",
"published": "0001-01-01T00:00:00Z",
"aliases": [
"CVE-2023-29400"
],
"summary": "Improper handling of empty HTML attributes in html/template",
"details": "Templates containing actions in unquoted HTML attributes (e.g. \"attr={{.}}\") executed with empty input can result in output with unexpected results when parsed due to HTML normalization rules. This may allow injection of arbitrary attributes into tags.",
"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",
"appendCmd",
"htmlNospaceEscaper"
]
}
]
}
}
],
"references": [
{
"type": "REPORT",
"url": "https://go.dev/issue/59722"
},
{
"type": "FIX",
"url": "https://go.dev/cl/491617"
},
{
"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-1753"
}
}