CVE-2024-21520

djangorestframework: Cross-site Scripting (XSS) via break_long_headers

Published Jun 26, 2024 CVSS 4.0 · 5.3 Medium EPSS 1.1% KEV · Not listed
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.

Remediation

No solution or workaround provided in the CVE record

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
EUVD EUVD EUVD-2024-2061 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.
Github GHSA Github GHSA GHSA-gw84-84pc-xp82 Cross-site Scripting in djangorestframework
History
Type Values Removed Values Added
Metrics cvssV4_0

{'score': 5.3, 'vector': 'CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:P/VC:N/VI:L/VA:N/SC:L/SI:L/SA:N/E:P'}

Type Values Removed Values Added
First Time appeared Redhat
Redhat ansible Automation Platform
CPEs cpe:/a:redhat:ansible_automation_platform:2.4::el8
cpe:/a:redhat:ansible_automation_platform:2.4::el9
Vendors & Products Redhat
Redhat ansible Automation Platform
Weaknesses

Sources

Status
PUBLISHED
Assigner
snyk
Published
Updated
Dec 31, 2024, 10:10 AM
Reserved
Dec 22, 2023, 12:33 PM
Status
Deferred
Published
Jun 26, 2024, 5:15 AM
Modified
Jun 17, 2026, 7:09 AM
Severity
Moderate
Public date
Jun 26, 2024, 12:00 AM