CVE-2020-25626 Cross-site Scripting (XSS) in Django REST Framework
MediumCVSS 6.1
EPSS 1.3%
- Published
- Updated
- Exploit status
- No public exploit known
- Technology
- UbuntuDebianRed Hat
Description
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.
Upgrade path
15 packages: 5 fixed, 8 with no fix yet.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| ubuntu/djangorestframework(Ubuntu 16.04) | = 2.4.3-2; = 3.3.1-1; = 3.3.2-1; = 3.3.2-2 +1 more | No fix listed | No fix yet |
| ubuntu/djangorestframework(Ubuntu 18.04) | = 3.4.0-2; = 3.7.7-1; All versions | No fix listed | No fix yet |
| ubuntu/djangorestframework(Ubuntu 20.04) | = 3.9.0-2; = 3.10.2-1; All versions | No fix listed | No fix yet |
| ubuntu/djangorestframework(Ubuntu 22.04) | = 3.12.1-1; = 3.12.4-1; = 3.12.4-2; = 3.12.4-2.1ubuntu1 +2 more | No fix listed | No fix yet |
| ubuntu/djangorestframework(Ubuntu 24.04) | = 3.14.0-2; All versions | No fix listed | No fix yet |
| ubuntu/djangorestframework(Ubuntu 25.10) | = 3.15.2-2; = 3.16.0-1; = 3.16.0-1ubuntu1; = 3.16.1-1 +1 more | No fix listed | No fix yet |
| ubuntu/djangorestframework(Ubuntu 26.04) | = 3.16.1-1; = 3.16.1-3; All versions | No fix listed | No fix yet |
| ubuntu/djangorestframework(Ubuntu 26.10) | = 3.16.1-3; = 3.16.1-4; = 3.17.1+ds1-1; All versions | No fix listed | No fix yet |
| debian/djangorestframework(Debian 12) | < 3.12.1-1 | 3.12.1-1 | Fixed |
| debian/djangorestframework(Debian 13) | < 3.12.1-1 | 3.12.1-1 | Fixed |
| debian/djangorestframework(Debian 14) | < 3.12.1-1 | 3.12.1-1 | Fixed |
| encode django rest framework | < 3.12.0 | 3.12.0 | Fixed |
| pypi djangorestframework(PyPI) | < 3.11.2; = 0.1; = 0.1.1; = 0.2.0 +122 more | 3.11.2 | Fixed |
| debian linux | = 11.0 | No fix listed | Versions listed |
| redhat ceph storage | = 2.0 | No fix listed | Versions listed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| pypi djangorestframework(PyPI) | < 3.11.2 | 3.11.2 |
| pypi djangorestframework(PyPI) | = 0.1 | No fix listed |
| pypi djangorestframework(PyPI) | = 0.1.1 | No fix listed |
| pypi djangorestframework(PyPI) | = 0.2.0 | No fix listed |
| pypi djangorestframework(PyPI) | = 0.2.1 | No fix listed |
| pypi djangorestframework(PyPI) | = 0.2.2 | No fix listed |
| pypi djangorestframework(PyPI) | = 0.2.3 | No fix listed |
| pypi djangorestframework(PyPI) | = 0.2.4 | No fix listed |
| pypi djangorestframework(PyPI) | = 0.3.0 | No fix listed |
| pypi djangorestframework(PyPI) | = 0.3.1 | No fix listed |
| pypi djangorestframework(PyPI) | = 0.3.2 | No fix listed |
| pypi djangorestframework(PyPI) | = 0.3.3 | No fix listed |
| pypi djangorestframework(PyPI) | = 0.4.0 | No fix listed |
| pypi djangorestframework(PyPI) | = 2.0.0 | No fix listed |
| pypi djangorestframework(PyPI) | = 2.0.1 | No fix listed |
| pypi djangorestframework(PyPI) | = 2.0.2 | No fix listed |
| pypi djangorestframework(PyPI) | = 2.1.0 | No fix listed |
| pypi djangorestframework(PyPI) | = 2.1.1 | No fix listed |
| pypi djangorestframework(PyPI) | = 2.1.10 | No fix listed |
| pypi djangorestframework(PyPI) | = 2.1.11 | No fix listed |
| pypi djangorestframework(PyPI) | = 2.1.12 | No fix listed |
| pypi djangorestframework(PyPI) | = 2.1.13 | No fix listed |
| pypi djangorestframework(PyPI) | = 2.1.14 | No fix listed |
| pypi djangorestframework(PyPI) | = 2.1.15 | No fix listed |
| pypi djangorestframework(PyPI) | = 2.1.16 | No fix listed |
Show 138 more
| Product | Affected versions | Fixed in |
|---|---|---|
| pypi djangorestframework(PyPI) | = 2.1.17 | No fix listed |
| pypi djangorestframework(PyPI) | = 2.1.2 | No fix listed |
| pypi djangorestframework(PyPI) | = 2.1.3 | No fix listed |
| pypi djangorestframework(PyPI) | = 2.1.4 | No fix listed |
| pypi djangorestframework(PyPI) | = 2.1.5 | No fix listed |
| pypi djangorestframework(PyPI) | = 2.1.6 | No fix listed |
| pypi djangorestframework(PyPI) | = 2.1.7 | No fix listed |
| pypi djangorestframework(PyPI) | = 2.1.8 | No fix listed |
| pypi djangorestframework(PyPI) | = 2.1.9 | No fix listed |
| pypi djangorestframework(PyPI) | = 2.2.0 | No fix listed |
| pypi djangorestframework(PyPI) | = 2.2.1 | No fix listed |
| pypi djangorestframework(PyPI) | = 2.2.2 | No fix listed |
| pypi djangorestframework(PyPI) | = 2.2.3 | No fix listed |
| pypi djangorestframework(PyPI) | = 2.2.4 | No fix listed |
| pypi djangorestframework(PyPI) | = 2.2.5 | No fix listed |
| pypi djangorestframework(PyPI) | = 2.2.6 | No fix listed |
| pypi djangorestframework(PyPI) | = 2.2.7 | No fix listed |
| pypi djangorestframework(PyPI) | = 2.3.0 | No fix listed |
| pypi djangorestframework(PyPI) | = 2.3.1 | No fix listed |
| pypi djangorestframework(PyPI) | = 2.3.10 | No fix listed |
| pypi djangorestframework(PyPI) | = 2.3.11 | No fix listed |
| pypi djangorestframework(PyPI) | = 2.3.12 | No fix listed |
| pypi djangorestframework(PyPI) | = 2.3.13 | No fix listed |
| pypi djangorestframework(PyPI) | = 2.3.14 | No fix listed |
| pypi djangorestframework(PyPI) | = 2.3.2 | No fix listed |
| pypi djangorestframework(PyPI) | = 2.3.3 | No fix listed |
| pypi djangorestframework(PyPI) | = 2.3.4 | No fix listed |
| pypi djangorestframework(PyPI) | = 2.3.5 | No fix listed |
| pypi djangorestframework(PyPI) | = 2.3.6 | No fix listed |
| pypi djangorestframework(PyPI) | = 2.3.7 | No fix listed |
| pypi djangorestframework(PyPI) | = 2.3.8 | No fix listed |
| pypi djangorestframework(PyPI) | = 2.3.9 | No fix listed |
| pypi djangorestframework(PyPI) | = 2.4.0 | No fix listed |
| pypi djangorestframework(PyPI) | = 2.4.1 | No fix listed |
| pypi djangorestframework(PyPI) | = 2.4.2 | No fix listed |
| pypi djangorestframework(PyPI) | = 2.4.3 | No fix listed |
| pypi djangorestframework(PyPI) | = 2.4.4 | No fix listed |
| pypi djangorestframework(PyPI) | = 2.4.5 | No fix listed |
| pypi djangorestframework(PyPI) | = 2.4.6 | No fix listed |
| pypi djangorestframework(PyPI) | = 2.4.7 | No fix listed |
| pypi djangorestframework(PyPI) | = 2.4.8 | No fix listed |
| pypi djangorestframework(PyPI) | = 3.0.0 | No fix listed |
| pypi djangorestframework(PyPI) | = 3.0.1 | No fix listed |
| pypi djangorestframework(PyPI) | = 3.0.2 | No fix listed |
| pypi djangorestframework(PyPI) | = 3.0.3 | No fix listed |
| pypi djangorestframework(PyPI) | = 3.0.4 | No fix listed |
| pypi djangorestframework(PyPI) | = 3.0.5 | No fix listed |
| pypi djangorestframework(PyPI) | = 3.1.0 | No fix listed |
| pypi djangorestframework(PyPI) | = 3.1.1 | No fix listed |
| pypi djangorestframework(PyPI) | = 3.1.2 | No fix listed |
| pypi djangorestframework(PyPI) | = 3.1.3 | No fix listed |
| pypi djangorestframework(PyPI) | = 3.10.0 | No fix listed |
| pypi djangorestframework(PyPI) | = 3.10.1 | No fix listed |
| pypi djangorestframework(PyPI) | = 3.10.2 | No fix listed |
| pypi djangorestframework(PyPI) | = 3.10.3 | No fix listed |
| pypi djangorestframework(PyPI) | = 3.11.0 | No fix listed |
| pypi djangorestframework(PyPI) | = 3.11.1 | No fix listed |
| pypi djangorestframework(PyPI) | = 3.2.0 | No fix listed |
| pypi djangorestframework(PyPI) | = 3.2.1 | No fix listed |
| pypi djangorestframework(PyPI) | = 3.2.2 | No fix listed |
| pypi djangorestframework(PyPI) | = 3.2.3 | No fix listed |
| pypi djangorestframework(PyPI) | = 3.2.4 | No fix listed |
| pypi djangorestframework(PyPI) | = 3.2.5 | No fix listed |
| pypi djangorestframework(PyPI) | = 3.3.0 | No fix listed |
| pypi djangorestframework(PyPI) | = 3.3.1 | No fix listed |
| pypi djangorestframework(PyPI) | = 3.3.2 | No fix listed |
| pypi djangorestframework(PyPI) | = 3.3.3 | No fix listed |
| pypi djangorestframework(PyPI) | = 3.4.0 | No fix listed |
| pypi djangorestframework(PyPI) | = 3.4.1 | No fix listed |
| pypi djangorestframework(PyPI) | = 3.4.2 | No fix listed |
| pypi djangorestframework(PyPI) | = 3.4.3 | No fix listed |
| pypi djangorestframework(PyPI) | = 3.4.4 | No fix listed |
| pypi djangorestframework(PyPI) | = 3.4.5 | No fix listed |
| pypi djangorestframework(PyPI) | = 3.4.6 | No fix listed |
| pypi djangorestframework(PyPI) | = 3.4.7 | No fix listed |
| pypi djangorestframework(PyPI) | = 3.5.0 | No fix listed |
| pypi djangorestframework(PyPI) | = 3.5.1 | No fix listed |
| pypi djangorestframework(PyPI) | = 3.5.2 | No fix listed |
| pypi djangorestframework(PyPI) | = 3.5.3 | No fix listed |
| pypi djangorestframework(PyPI) | = 3.5.4 | No fix listed |
| pypi djangorestframework(PyPI) | = 3.6.0 | No fix listed |
| pypi djangorestframework(PyPI) | = 3.6.1 | No fix listed |
| pypi djangorestframework(PyPI) | = 3.6.2 | No fix listed |
| pypi djangorestframework(PyPI) | = 3.6.3 | No fix listed |
| pypi djangorestframework(PyPI) | = 3.6.4 | No fix listed |
| pypi djangorestframework(PyPI) | = 3.7.0 | No fix listed |
| pypi djangorestframework(PyPI) | = 3.7.1 | No fix listed |
| pypi djangorestframework(PyPI) | = 3.7.2 | No fix listed |
| pypi djangorestframework(PyPI) | = 3.7.3 | No fix listed |
| pypi djangorestframework(PyPI) | = 3.7.4 | No fix listed |
| pypi djangorestframework(PyPI) | = 3.7.5 | No fix listed |
| pypi djangorestframework(PyPI) | = 3.7.6 | No fix listed |
| pypi djangorestframework(PyPI) | = 3.7.7 | No fix listed |
| pypi djangorestframework(PyPI) | = 3.8.0 | No fix listed |
| pypi djangorestframework(PyPI) | = 3.8.1 | No fix listed |
| pypi djangorestframework(PyPI) | = 3.8.2 | No fix listed |
| pypi djangorestframework(PyPI) | = 3.9.0 | No fix listed |
| pypi djangorestframework(PyPI) | = 3.9.1 | No fix listed |
| pypi djangorestframework(PyPI) | = 3.9.2 | No fix listed |
| pypi djangorestframework(PyPI) | = 3.9.3 | No fix listed |
| pypi djangorestframework(PyPI) | = 3.9.4 | No fix listed |
| debian/djangorestframework(Debian:12) | < 3.12.1-1 | 3.12.1-1 |
| debian/djangorestframework(Debian:13) | < 3.12.1-1 | 3.12.1-1 |
| debian/djangorestframework(Debian:14) | < 3.12.1-1 | 3.12.1-1 |
| encode django rest framework | < 3.12.0 | 3.12.0 |
| redhat ceph storage | = 2.0 | No fix listed |
| debian linux | = 11.0 | No fix listed |
| ubuntu/djangorestframework(Ubuntu:24.04) | All versions | No fix listed |
| ubuntu/djangorestframework(Ubuntu:26.04) | All versions | No fix listed |
| ubuntu/djangorestframework(Ubuntu:26.10) | All versions | No fix listed |
| ubuntu/djangorestframework(Ubuntu:22.04) | All versions | No fix listed |
| ubuntu/djangorestframework(Ubuntu:16.04) | All versions | No fix listed |
| ubuntu/djangorestframework(Ubuntu:16.04) | = 2.4.3-2 | No fix listed |
| ubuntu/djangorestframework(Ubuntu:16.04) | = 3.3.1-1 | No fix listed |
| ubuntu/djangorestframework(Ubuntu:16.04) | = 3.3.2-1 | No fix listed |
| ubuntu/djangorestframework(Ubuntu:16.04) | = 3.3.2-2 | No fix listed |
| ubuntu/djangorestframework(Ubuntu:18.04) | All versions | No fix listed |
| ubuntu/djangorestframework(Ubuntu:18.04) | = 3.4.0-2 | No fix listed |
| ubuntu/djangorestframework(Ubuntu:18.04) | = 3.7.7-1 | No fix listed |
| ubuntu/djangorestframework(Ubuntu:20.04) | All versions | No fix listed |
| ubuntu/djangorestframework(Ubuntu:20.04) | = 3.9.0-2 | No fix listed |
| ubuntu/djangorestframework(Ubuntu:20.04) | = 3.10.2-1 | No fix listed |
| ubuntu/djangorestframework(Ubuntu:22.04) | = 3.12.1-1 | No fix listed |
| ubuntu/djangorestframework(Ubuntu:22.04) | = 3.12.4-1 | No fix listed |
| ubuntu/djangorestframework(Ubuntu:22.04) | = 3.12.4-2 | No fix listed |
| ubuntu/djangorestframework(Ubuntu:22.04) | = 3.12.4-2ubuntu1 | No fix listed |
| ubuntu/djangorestframework(Ubuntu:22.04) | = 3.12.4-2.1ubuntu1 | No fix listed |
| ubuntu/djangorestframework(Ubuntu:24.04) | = 3.14.0-2 | No fix listed |
| ubuntu/djangorestframework(Ubuntu:25.10) | All versions | No fix listed |
| ubuntu/djangorestframework(Ubuntu:25.10) | = 3.15.2-2 | No fix listed |
| ubuntu/djangorestframework(Ubuntu:25.10) | = 3.16.0-1 | No fix listed |
| ubuntu/djangorestframework(Ubuntu:25.10) | = 3.16.0-1ubuntu1 | No fix listed |
| ubuntu/djangorestframework(Ubuntu:25.10) | = 3.16.1-1 | No fix listed |
| ubuntu/djangorestframework(Ubuntu:26.10) | = 3.16.1-3 | No fix listed |
| ubuntu/djangorestframework(Ubuntu:26.10) | = 3.16.1-4 | No fix listed |
| ubuntu/djangorestframework(Ubuntu:26.10) | = 3.17.1+ds1-1 | No fix listed |
| ubuntu/djangorestframework(Ubuntu:26.04) | = 3.16.1-1 | No fix listed |
| ubuntu/djangorestframework(Ubuntu:26.04) | = 3.16.1-3 | No fix listed |
References
- nvd.nist.gov third-party-advisory vendor-advisory
- bugzilla.redhat.com issue-tracking vendor-advisory
- github.com vendor-advisory
- github.com product
- github.com
- security.netapp.com third-party-advisory vendor-advisory
- DSA-5186 third-party-advisory vendor-advisory
- Ubuntu CVE tracker issue-tracking vendor-advisory
- www.cve.org issue-tracking
- Debian Security Tracker CVE-2020-25626 vendor-advisory
- bugs.debian.org issue-tracking