blob: ce41b8407b6b51a9bb336fd60ab08d465601b60a [file] [log] [blame]
{
"dataType": "CVE_RECORD",
"dataVersion": "5.0",
"cveMetadata": {
"cveId": "CVE-2023-3978"
},
"containers": {
"cna": {
"providerMetadata": {
"orgId": "1bb62c36-49e3-4200-9d77-64a1400537cc"
},
"title": "Improper rendering of text nodes in golang.org/x/net/html",
"descriptions": [
{
"lang": "en",
"value": "Text nodes not in the HTML namespace are incorrectly literally rendered, causing text which should be escaped to not be. This could lead to an XSS attack."
}
],
"affected": [
{
"vendor": "golang.org/x/net",
"product": "golang.org/x/net/html",
"collectionURL": "https://pkg.go.dev",
"packageName": "golang.org/x/net/html",
"versions": [
{
"version": "0",
"lessThan": "0.13.0",
"status": "affected",
"versionType": "semver"
}
],
"programRoutines": [
{
"name": "render1"
},
{
"name": "Render"
}
],
"defaultStatus": "unaffected"
}
],
"problemTypes": [
{
"descriptions": [
{
"lang": "en",
"description": "CWE-79: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')"
}
]
}
],
"references": [
{
"url": "https://go.dev/issue/61615"
},
{
"url": "https://go.dev/cl/514896"
},
{
"url": "https://pkg.go.dev/vuln/GO-2023-1988"
}
]
}
}
}