NetSight
medium6.1

CVE-2024-21520

Cross-site Scripting in djangorestframework

Impact

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 packages

EcosystemPackageAffectedFixed in
pipdjangorestframework< 3.15.23.15.2

Affected products

ProductAffected versions
Package Djangorestframework
before 3.15.2

Versions were read from the advisory text. No structured product data has been published for this record yet.

Weakness classification

References