CVE-2024-21520

published 26 Jun 2024 · updated 31 Dec 2024

Versions of the package djangorestframework before 3.15.2 are vulnerable to Cross-site Scripting (XSS) via the break_long_headers template…

6.1MediumCVSS 6.1EPSS 1%

No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 1%. Fixed in 3.15.2.

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.

Affected

Vendors, products and packages with version ranges

VendorProductVersionsFixed
<3.15.23.15.2

Timeline

Every event on this vulnerability

Embed

A live severity badge for an advisory, README or ticket

CVE-2024-21520 severity on Zeptric[![CVE-2024-21520](https://zeptric.io/badge/cve/CVE-2024-21520.svg)](https://zeptric.io/cve/CVE-2024-21520)