CVE-2024-21520
CVSS 3.1 Score 6.1 of 10 (medium)
Details
Summary
CVE-2024-21520 is a newly disclosed Cross-site Scripting (XSS) vulnerability that affects versions of the Django REST framework prior to 3.15.2. The issue arises due to insufficient input sanitization in the break_long_headers template filter, which allows an attacker to inject malicious code into web applications. The filter, which is used to split and join headers with <br> tags, fails to properly sanitize user-supplied input, making it susceptible to XSS attacks. These attacks can result in the unauthorized execution of malicious scripts in users' web browsers. To mitigate this risk, it is recommended that users upgrade to the latest version of the Django REST framework.
Prevent cyber attacks with Recorded Future by prioritizing and patching critical vulnerabilities being exploited by threat actors targeting your industry. Book your demo to learn more.
Advisories, Assessments, and Mitigations
Prioritize, Pinpoint, and Act to Prevent Vulnerability Exploits with Recorded Future
- Gain complete coverage of your cyber, third party, and physical attack surface
- Proactively mitigate threats before they turn into costly attacks
- Make fast, effective, data-driven decisions