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-10T19:30:33.078028Z
Severity
  • 6.1 (Medium) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N 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"
}