Upstream information

CVE-2024-21520 at MITRE

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.

SUSE information

Overall state of this security issue: Resolved

This issue is currently rated as having moderate severity.

CVSS v3 Scores
CVSS detail CNA (Snyk) SUSE
Base Score 6.1 6.1
Vector CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
Attack Vector Network Network
Attack Complexity Low Low
Privileges Required None None
User Interaction Required Required
Scope Changed Changed
Confidentiality Impact Low Low
Integrity Impact Low Low
Availability Impact None None
CVSSv3 Version 3.1 3.1
CVSS v4 Scores
CVSS detail CNA (Snyk)
Base Score 2.1
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/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
Attack Vector Network
Attack Complexity Low
Attack Requirements None
Privileges Required None
User Interaction Passive
Vulnerable System Confidentiality Impact None
Vulnerable System Integrity Impact Low
Vulnerable System Availability Impact None
Subsequent System Confidentiality Impact Low
Subsequent System Integrity Impact Low
Subsequent System Availability Impact None
CVSSv4 Version 4.0
SUSE Bugzilla entry: 1227077 [RESOLVED / FIXED]

No SUSE Security Announcements cross referenced.

List of released packages

Product(s) Fixed package version(s) References
SUSE Package Hub 15 SP6
  • python3-Django >= 2.2.28-bp156.39.1
  • python3-djangorestframework >= 3.14.0-bp156.2.3.1
  • python311-djangorestframework >= 3.14.0-bp156.2.3.1
Patchnames:
openSUSE-2026-138
openSUSE Leap 15.6
  • python3-Django >= 2.2.28-bp156.39.1
  • python3-djangorestframework >= 3.14.0-bp156.2.3.1
  • python311-djangorestframework >= 3.14.0-bp156.2.3.1
Patchnames:
openSUSE-2026-138
openSUSE Tumbleweed
  • python311-djangorestframework >= 3.16.1-2.1
  • python312-djangorestframework >= 3.16.1-2.1
  • python313-djangorestframework >= 3.16.1-2.1
Patchnames:
openSUSE-Tumbleweed-2026-10115


Status of this issue by product and package

Please note that this evaluation state might be work in progress, incomplete or outdated. Also information for service packs in the LTSS phase is only included for issues meeting the LTSS criteria. If in doubt, feel free to contact us for clarification. The updates are grouped by state of their lifecycle. SUSE product lifecycles are documented on the lifecycle page.

Product(s) Source package State
Products past their end of life and not receiving proactive updates anymore.
SUSE Package Hub 15 SP6 python-Django Released
SUSE Package Hub 15 SP6 python-djangorestframework Released
SUSE Package Hub 15 SP6 python-djangorestframework-test Released


SUSE Timeline for this CVE

CVE page created: Wed Jun 26 08:00:06 2024
CVE page last modified: Tue Apr 21 22:20:44 2026