CVE-2024-21520

MEDIUM

Pypi Djangorestframework < 3.15.2 - XSS

Title source: rule

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)

nomisec WORKING POC
by ch4n3-yoon · poc
https://github.com/ch4n3-yoon/CVE-2024-21520-Demo

Scores

CVSS v3 6.1
EPSS 0.0840
EPSS Percentile 92.3%
Attack Vector NETWORK
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N

Details

CWE
CWE-79
Status published
Products (2)
n/a/djangorestframework < 3.15.2
pypi/djangorestframework 0 - 3.15.2PyPI
Published Jun 26, 2024
Tracked Since Feb 18, 2026