2023-12-22 13:00:34 +00:00
{
2024-06-26 05:00:33 +00:00
"data_version" : "4.0" ,
2023-12-22 13:00:34 +00:00
"data_type" : "CVE" ,
"data_format" : "MITRE" ,
"CVE_data_meta" : {
"ID" : "CVE-2024-21520" ,
2024-06-26 05:00:33 +00:00
"ASSIGNER" : "report@snyk.io" ,
"STATE" : "PUBLIC"
2023-12-22 13:00:34 +00:00
} ,
"description" : {
"description_data" : [
{
"lang" : "eng" ,
2024-06-26 05:00:33 +00:00
"value" : "Versions of the package djangorestframework before 3.15.2 are vulnerable to Cross-site Scripting (XSS) via the break_long_headers template filter due to improper input sanitization before splitting and joining with <br> tags."
}
]
} ,
"problemtype" : {
"problemtype_data" : [
{
"description" : [
{
"lang" : "eng" ,
"value" : "Cross-site Scripting (XSS)" ,
"cweId" : "CWE-79"
}
]
}
]
} ,
"affects" : {
"vendor" : {
"vendor_data" : [
{
"vendor_name" : "n/a" ,
"product" : {
"product_data" : [
{
"product_name" : "djangorestframework" ,
"version" : {
"version_data" : [
{
"version_affected" : "<" ,
"version_name" : "0" ,
"version_value" : "3.15.2"
}
]
}
}
]
}
}
]
}
} ,
"references" : {
"reference_data" : [
{
"url" : "https://security.snyk.io/vuln/SNYK-PYTHON-DJANGORESTFRAMEWORK-7252137" ,
"refsource" : "MISC" ,
"name" : "https://security.snyk.io/vuln/SNYK-PYTHON-DJANGORESTFRAMEWORK-7252137"
} ,
{
"url" : "https://github.com/encode/django-rest-framework/pull/9435" ,
"refsource" : "MISC" ,
"name" : "https://github.com/encode/django-rest-framework/pull/9435"
} ,
{
"url" : "https://github.com/encode/django-rest-framework/commit/3b41f0124194430da957b119712978fa2266b642" ,
"refsource" : "MISC" ,
"name" : "https://github.com/encode/django-rest-framework/commit/3b41f0124194430da957b119712978fa2266b642"
2024-07-04 16:00:36 +00:00
} ,
{
"url" : "https://github.com/encode/django-rest-framework/compare/3.15.1...3.15.2" ,
"refsource" : "MISC" ,
"name" : "https://github.com/encode/django-rest-framework/compare/3.15.1...3.15.2"
2024-06-26 05:00:33 +00:00
}
]
} ,
"credits" : [
{
"lang" : "en" ,
"value" : "ch4n3-yoon"
}
] ,
"impact" : {
"cvss" : [
{
"version" : "3.1" ,
"attackVector" : "NETWORK" ,
"attackComplexity" : "LOW" ,
"privilegesRequired" : "NONE" ,
"userInteraction" : "REQUIRED" ,
"scope" : "CHANGED" ,
"confidentialityImpact" : "LOW" ,
"integrityImpact" : "LOW" ,
"availabilityImpact" : "NONE" ,
"baseScore" : 6.1 ,
"baseSeverity" : "MEDIUM" ,
"vectorString" : "CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N/E:P"
2023-12-22 13:00:34 +00:00
}
]
}
}