Debian Security Tracker
DEBIAN-CVE-2024-21520
Details
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.
Affected packages
| Ecosystem | Package | Affected versions |
|---|---|---|
| Debian:12 | djangorestframework | All versions, no fix listed |
| Debian:13 | djangorestframework | All versions before 3.15.2-1 (fixed in 3.15.2-1) |
| Debian:14 | djangorestframework | All versions before 3.15.2-1 (fixed in 3.15.2-1) |