CVE-2024-21520 Affecting djangorestframework package, versions <3.15.2-1


Severity

Recommended
low

Based on default assessment until relevant scores are available.

Threat Intelligence

EPSS
1.18% (78th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-DEBIAN13-DJANGORESTFRAMEWORK-7411311
  • published28 Jun 2024
  • disclosed26 Jun 2024

Introduced: 26 Jun 2024

CVE-2024-21520  (opens in a new tab)

How to fix?

Upgrade Debian:13 djangorestframework to version 3.15.2-1 or higher.

NVD Description

Note: Versions mentioned in the description apply only to the upstream djangorestframework package and not the djangorestframework package as distributed by Debian. See How to fix? for Debian:13 relevant fixed versions and status.

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.

CVSS Base Scores

version 3.1