DEBIAN-CVE-2024-21520

Source
https://security-tracker.debian.org/tracker/CVE-2024-21520
Import Source
https://storage.googleapis.com/osv-test-debian-osv/debian-cve-osv/DEBIAN-CVE-2024-21520.json
JSON Data
https://api.test.osv.dev/v1/vulns/DEBIAN-CVE-2024-21520
Upstream
Published
2024-06-26T05:15:50Z
Modified
2025-10-15T07:56:11.673038Z
Severity
  • 2.1 (Low) CVSS_V4 - 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 CVSS Calculator
Summary
[none]
Details

Versions of the package djangorestframework before 3.15.2 are vulnerable to Cross-site Scripting (XSS) via the breaklongheaders template filter due to improper input sanitization before splitting and joining with <br> tags.

References

Affected packages

Debian:11 / djangorestframework

Package

Name
djangorestframework
Purl
pkg:deb/debian/djangorestframework?arch=source

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected

Affected versions

3.*

3.12.1-1
3.12.4-1
3.12.4-2
3.12.4-2.1
3.12.4-2.2
3.13.1-1
3.14.0-1
3.14.0-2
3.15.1-1
3.15.1-2
3.15.2-1
3.15.2-2
3.16.0-1
3.16.1-1

Ecosystem specific

{
    "urgency": "not yet assigned"
}

Debian:12 / djangorestframework

Package

Name
djangorestframework
Purl
pkg:deb/debian/djangorestframework?arch=source

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected

Affected versions

3.*

3.14.0-2
3.14.0-2+deb12u1
3.15.1-1
3.15.1-2
3.15.2-1
3.15.2-2
3.16.0-1
3.16.1-1

Ecosystem specific

{
    "urgency": "not yet assigned"
}

Debian:13 / djangorestframework

Package

Name
djangorestframework
Purl
pkg:deb/debian/djangorestframework?arch=source

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
3.15.2-1

Ecosystem specific

{
    "urgency": "not yet assigned"
}

Debian:14 / djangorestframework

Package

Name
djangorestframework
Purl
pkg:deb/debian/djangorestframework?arch=source

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
3.15.2-1

Ecosystem specific

{
    "urgency": "not yet assigned"
}