CVE-2020-25626
Fixed in a distro release EPSS 1%
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.
Products: encode django_rest_framework, redhat ceph_storage, debian_linux
Fixed upstream
| Ecosystem | Package | Fixed in |
|---|---|---|
| PyPI | djangorestframework | 3.11.2 |
Distro releases
| Release | Package | Fixed in |
|---|---|---|
| Debian 10 | djangorestframework | 3.9.0-1+deb10u1 |
| Debian 12 | djangorestframework | 3.12.1-1 |
| Debian 13 | djangorestframework | 3.12.1-1 |
| Debian 14 | djangorestframework | 3.12.1-1 |
| SUSE Package Hub 15 SP2 | python-djangorestframework | 3.11.2-bp152.2.3.1 |
| SUSE Package Hub 15 SP2 | python-djangorestframework-test | 3.11.2-bp152.2.3.1 |
| Ubuntu 16.04 LTS | djangorestframework | no fix |
| Ubuntu 18.04 LTS | djangorestframework | no fix |
| Ubuntu 20.04 LTS | djangorestframework | no fix |
| Ubuntu 22.04 LTS | djangorestframework | no fix |
| Ubuntu 24.04 LTS | djangorestframework | no fix |
| Ubuntu 25.10 | djangorestframework | no fix |
| Ubuntu 26.04 LTS | djangorestframework | no fix |
| Ubuntu 26.10 | djangorestframework | no fix |
| openSUSE Leap 15.2 | python-djangorestframework | 3.11.2-lp152.2.3.1 |
| openSUSE Leap 15.2 | python-djangorestframework-test | 3.11.2-lp152.2.3.1 |
| openSUSE Tumbleweed | python-djangorestframework | 3.18.0-1.1 |