The html/template package does not properly handle HTML-like "" comment tokens, nor hashbang "#!" comment tokens, in <script> contexts. This may cause the template parser to improperly interpret the contents of <script> contexts, causing actions to be improperly escaped. This may be leveraged to perform an XSS attack.
{
"cna_assigner": "Go",
"osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2023/39xxx/CVE-2023-39318.json",
"unresolved_ranges": [
{
"source": "AFFECTED_FIELD",
"extracted_events": [
{
"fixed": "1.20.8"
},
{
"introduced": "1.21.0-0"
},
{
"fixed": "1.21.1"
}
]
}
]
}{
"source": "CPE_RANGE",
"cpe": "cpe:2.3:a:golang:go:*:*:*:*:*:*:*:*",
"extracted_events": [
{
"introduced": "0"
},
{
"fixed": "1.20.8"
},
{
"introduced": "1.21.0"
},
{
"fixed": "1.21.1"
}
]
}