UBUNTU-CVE-2018-25045

Source
https://ubuntu.com/security/CVE-2018-25045
Import Source
https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2018/UBUNTU-CVE-2018-25045.json
JSON Data
https://api.osv.dev/v1/vulns/UBUNTU-CVE-2018-25045
Related
Published
2022-07-23T02:15:00Z
Modified
2025-01-13T10:21:51Z
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

Django REST framework (aka django-rest-framework) before 3.9.1 allows XSS because the default DRF Browsable API view templates disable autoescaping.

References

Affected packages

Ubuntu:Pro:16.04:LTS / djangorestframework

Package

Name
djangorestframework
Purl
pkg:deb/ubuntu/djangorestframework@3.3.2-2?arch=source&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@3.7.7-1?arch=source&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@3.10.2-1?arch=source&distro=focal

Affected ranges

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

Affected versions

3.*

3.9.0-2

Ecosystem specific

{
    "availability": "No subscription required",
    "ubuntu_priority": "medium",
    "binaries": [
        {
            "binary_version": "3.10.2-1",
            "binary_name": "python-djangorestframework-doc"
        },
        {
            "binary_version": "3.10.2-1",
            "binary_name": "python3-djangorestframework"
        }
    ]
}