Bug 1227077 (CVE-2024-21520) - VUL-0: CVE-2024-21520: python-djangorestframework: improper input sanitization before splitting and joining with <br> tags in break_long_headers template filter
Summary: VUL-0: CVE-2024-21520: python-djangorestframework: improper input sanitizatio...
Status: NEW
Alias: CVE-2024-21520
Product: SUSE Security Incidents
Classification: Novell Products
Component: Incidents (show other bugs)
Version: unspecified
Hardware: Other Other
: P3 - Medium : Normal
Target Milestone: ---
Assignee: John Vandenberg
QA Contact: Security Team bot
URL: https://smash.suse.de/issue/412172/
Whiteboard: CVSSv3.1:SUSE:CVE-2024-21520:6.1:(AV:...
Keywords:
Depends on:
Blocks:
 
Reported: 2024-06-26 12:52 UTC by SMASH SMASH
Modified: 2024-06-26 13:15 UTC (History)
1 user (show)

See Also:
Found By: Security Response Team
Services Priority:
Business Priority:
Blocker: ---
Marketing QA Status: ---
IT Deployment: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description SMASH SMASH 2024-06-26 12:52:49 UTC
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.

References:
http://web.nvd.nist.gov/view/vuln/detail?vulnId=CVE-2024-21520
https://www.cve.org/CVERecord?id=CVE-2024-21520
https://github.com/encode/django-rest-framework/commit/3b41f0124194430da957b119712978fa2266b642
https://github.com/encode/django-rest-framework/pull/9435
https://security.snyk.io/vuln/SNYK-PYTHON-DJANGORESTFRAMEWORK-7252137