2023-07-27 18:00:32 +00:00
{
2023-09-08 17:00:35 +00:00
"data_version" : "4.0" ,
2023-07-27 18:00:32 +00:00
"data_type" : "CVE" ,
"data_format" : "MITRE" ,
"CVE_data_meta" : {
"ID" : "CVE-2023-39318" ,
2023-09-08 17:00:35 +00:00
"ASSIGNER" : "security@golang.org" ,
"STATE" : "PUBLIC"
2023-07-27 18:00:32 +00:00
} ,
"description" : {
"description_data" : [
{
"lang" : "eng" ,
2023-09-08 17:00:35 +00:00
"value" : "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."
}
]
} ,
"problemtype" : {
"problemtype_data" : [
{
"description" : [
{
"lang" : "eng" ,
"value" : "CWE-79: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')"
}
]
2023-07-27 18:00:32 +00:00
}
]
2023-09-08 17:00:35 +00:00
} ,
"affects" : {
"vendor" : {
"vendor_data" : [
{
"vendor_name" : "Go standard library" ,
"product" : {
"product_data" : [
{
"product_name" : "html/template" ,
"version" : {
"version_data" : [
{
"version_affected" : "<" ,
"version_name" : "0" ,
"version_value" : "1.20.8"
} ,
{
"version_affected" : "<" ,
"version_name" : "1.21.0-0" ,
"version_value" : "1.21.1"
}
]
}
}
]
}
}
]
}
} ,
"references" : {
"reference_data" : [
{
"url" : "https://go.dev/issue/62196" ,
"refsource" : "MISC" ,
"name" : "https://go.dev/issue/62196"
} ,
{
"url" : "https://go.dev/cl/526156" ,
"refsource" : "MISC" ,
"name" : "https://go.dev/cl/526156"
} ,
{
"url" : "https://groups.google.com/g/golang-dev/c/2C5vbR-UNkI/m/L1hdrPhfBAAJ" ,
"refsource" : "MISC" ,
"name" : "https://groups.google.com/g/golang-dev/c/2C5vbR-UNkI/m/L1hdrPhfBAAJ"
} ,
{
"url" : "https://pkg.go.dev/vuln/GO-2023-2041" ,
"refsource" : "MISC" ,
"name" : "https://pkg.go.dev/vuln/GO-2023-2041"
2023-10-20 15:00:38 +00:00
} ,
{
"url" : "https://security.netapp.com/advisory/ntap-20231020-0009/" ,
"refsource" : "MISC" ,
"name" : "https://security.netapp.com/advisory/ntap-20231020-0009/"
2023-11-25 12:00:34 +00:00
} ,
{
"url" : "https://security.gentoo.org/glsa/202311-09" ,
"refsource" : "MISC" ,
"name" : "https://security.gentoo.org/glsa/202311-09"
2023-09-08 17:00:35 +00:00
}
]
} ,
"credits" : [
{
"lang" : "en" ,
"value" : "Takeshi Kaneko (GMO Cybersecurity by Ierae, Inc.)"
}
]
2023-07-27 18:00:32 +00:00
}