PT-2024-18934 · Unknown+1 · Django Rest Framework+1

·

CVE-2024-21520

·

Published

2024-06-26

·

Updated

2026-07-08

CVSS v3.1

6.1

Medium

VectorAV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
Name of the Vulnerable Software and Affected Versions djangorestframework versions prior to 3.15.2
Description The issue arises from improper input sanitization in the break long headers template filter, leading to Cross-site Scripting (XSS) via this filter due to the splitting and joining of input with
tags.
Recommendations For versions prior to 3.15.2, update to version 3.15.2 or later to resolve the issue.

Exploit

Fix

XSS

Found an issue in the description? Have something to add? Feel free to write us 👾

Weakness Enumeration

Related Identifiers

CVE-2024-21520
GHSA-GW84-84PC-XP82
OPENSUSE-SU-2026:10115-1
PYSEC-2026-1304
RHSA-2024:7312

Affected Products

Debian
Django Rest Framework