djangorestframework
Affected
- introduced
0, fixed3.15.2(ecosystem)
Fixed versions
3.15.2
Fix
- Fixed version
3.15.2pip install --upgrade djangorestframework==3.15.2
Advisory
Also known as: CVE-2024-21520, PYSEC-2026-1304
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.
Low Basis: The source's own band: LOW
0, fixed 3.15.2 (ecosystem)3.15.2
3.15.2pip install --upgrade djangorestframework==3.15.2Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.
Check your own computer: guard packages check
Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0