UBUNTU-CVE-2020-25626

Source
https://ubuntu.com/security/CVE-2020-25626
Import Source
https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2020/UBUNTU-CVE-2020-25626.json
JSON Data
https://api.test.osv.dev/v1/vulns/UBUNTU-CVE-2020-25626
Related
Published
2020-09-30T20:15:00Z
Modified
2024-10-15T14:07:37Z
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

A flaw was found in Django REST Framework versions before 3.12.0 and before 3.11.2. When using the browseable API viewer, Django REST Framework fails to properly escape certain strings that can come from user input. This allows a user who can control those strings to inject malicious <script> tags, leading to a cross-site-scripting (XSS) vulnerability.

References

Affected packages

Ubuntu:Pro:16.04:LTS / djangorestframework

Package

Name
djangorestframework
Purl
pkg:deb/ubuntu/djangorestframework?arch=src?distro=esm-apps/xenial

Affected ranges

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

Affected versions

2.*

2.4.3-2

3.*

3.3.1-1
3.3.2-1
3.3.2-2

Ecosystem specific

{
    "ubuntu_priority": "medium"
}

Ubuntu:Pro:18.04:LTS / djangorestframework

Package

Name
djangorestframework
Purl
pkg:deb/ubuntu/djangorestframework?arch=src?distro=esm-apps/bionic

Affected ranges

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

Affected versions

3.*

3.4.0-2
3.7.7-1

Ecosystem specific

{
    "ubuntu_priority": "medium"
}

Ubuntu:20.04:LTS / djangorestframework

Package

Name
djangorestframework
Purl
pkg:deb/ubuntu/djangorestframework?arch=src?distro=focal

Affected ranges

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

Affected versions

3.*

3.9.0-2
3.10.2-1

Ecosystem specific

{
    "ubuntu_priority": "medium"
}

Ubuntu:22.04:LTS / djangorestframework

Package

Name
djangorestframework
Purl
pkg:deb/ubuntu/djangorestframework?arch=src?distro=jammy

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-2ubuntu1
3.12.4-2.1ubuntu1

Ecosystem specific

{
    "ubuntu_priority": "medium"
}

Ubuntu:24.10 / djangorestframework

Package

Name
djangorestframework
Purl
pkg:deb/ubuntu/djangorestframework?arch=src?distro=oracular

Affected ranges

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

Affected versions

3.*

3.14.0-2
3.15.1-1
3.15.1-2
3.15.2-1

Ecosystem specific

{
    "ubuntu_priority": "medium"
}

Ubuntu:24.04:LTS / djangorestframework

Package

Name
djangorestframework
Purl
pkg:deb/ubuntu/djangorestframework?arch=src?distro=noble

Affected ranges

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

Affected versions

3.*

3.14.0-2

Ecosystem specific

{
    "ubuntu_priority": "medium"
}