{ "id": "CVE-2024-21520", "sourceIdentifier": "report@snyk.io", "published": "2024-06-26T05:15:50.093", "lastModified": "2024-07-04T15:15:10.210", "vulnStatus": "Awaiting Analysis", "cveTags": [], "descriptions": [ { "lang": "en", "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
tags." }, { "lang": "es", "value": "Las versiones del paquete djangorestframework anteriores a la 3.15.2 son vulnerables a Cross-site Scripting (XSS) a trav\u00e9s del filtro de plantilla break_long_headers debido a una sanitizaci\u00f3n inadecuada de la entrada antes de dividir y unir con etiquetas
." } ], "metrics": { "cvssMetricV31": [ { "source": "report@snyk.io", "type": "Secondary", "cvssData": { "version": "3.1", "vectorString": "CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N", "attackVector": "NETWORK", "attackComplexity": "LOW", "privilegesRequired": "NONE", "userInteraction": "REQUIRED", "scope": "CHANGED", "confidentialityImpact": "LOW", "integrityImpact": "LOW", "availabilityImpact": "NONE", "baseScore": 6.1, "baseSeverity": "MEDIUM" }, "exploitabilityScore": 2.8, "impactScore": 2.7 } ] }, "weaknesses": [ { "source": "report@snyk.io", "type": "Secondary", "description": [ { "lang": "en", "value": "CWE-79" } ] } ], "references": [ { "url": "https://github.com/encode/django-rest-framework/commit/3b41f0124194430da957b119712978fa2266b642", "source": "report@snyk.io" }, { "url": "https://github.com/encode/django-rest-framework/compare/3.15.1...3.15.2", "source": "report@snyk.io" }, { "url": "https://github.com/encode/django-rest-framework/pull/9435", "source": "report@snyk.io" }, { "url": "https://security.snyk.io/vuln/SNYK-PYTHON-DJANGORESTFRAMEWORK-7252137", "source": "report@snyk.io" } ] }