Cross-site Scripting in djangorestframework
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.
01
describes (1)
Related CVEs.
| ID | severity | exploitable | ||
|---|---|---|---|---|
| CVE-2024-21520US | — | Exploit | ||
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… | ||||
02
references
External citations — patches, advisories, analysis.
- https://github.com/encode/django-rest-frameworkPACKAGE
- https://github.com/encode/django-rest-framework/commit/3b41f0124194430da957b119712978fa2266b642WEB
- https://github.com/encode/django-rest-framework/compare/3.15.1...3.15.2WEB
- https://github.com/encode/django-rest-framework/pull/9435WEB
- https://nvd.nist.gov/vuln/detail/CVE-2024-21520ADVISORY
- https://security.snyk.io/vuln/SNYK-PYTHON-DJANGORESTFRAMEWORK-7252137WEB
scry
Advisories like this name the exposed products attackers go after on your perimeter. See what is exposed on your perimeter with a free passive scan.
Free scan