CVE-2024-21520
MEDIUMdjangorestframework < 3.15.2 - Cross-Site Scripting via break_long_headers Template Filter
Title source: llmExploitation Summary
EIP tracks 1 public exploit for CVE-2024-21520. PoCs published by ch4n3-yoon.
AI-analyzed exploit summary This repository contains a functional Django application demonstrating CVE-2024-21520, an HTTP Response Splitting vulnerability in the `XAccountView` endpoint. The `Content-Location` header is dynamically constructed from user input without proper sanitization, allowing header injection attacks.
Description
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.
Exploits (1)
This repository contains a functional Django application demonstrating CVE-2024-21520, an HTTP Response Splitting vulnerability in the `XAccountView` endpoint. The `Content-Location` header is dynamically constructed from user input without proper sanitization, allowing header injection attacks.
References (4)
Scores
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N