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, GHSA-gw84-84pc-xp82
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.
Medium Basis: CVSS v3 score 6.1, vector CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
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: PyPA Advisory Database · CC BY 4.0