# CVE-2020-25626

- Priority: **Routine**
- Reason: Not severe (CVSS 6.1, network access); no exploitation reported by the 5 checked sources
- Next step: Fix in the normal cadence
- Status: published
- Published: 2020-09-30 · Modified: 2024-08-04
- Aliases: openSUSE-SU-2021:0338-1, GHSA-fx83-3ph3-9j2q, PYSEC-2020-263, UBUNTU-CVE-2020-25626, DEBIAN-CVE-2020-25626, openSUSE-SU-2021:0322-1, openSUSE-SU-2026:11571-1
- Record: https://cvemate.com/vulnerability/CVE-2020-25626 · JSON: https://cvemate.com/vulnerability/CVE-2020-25626/json

## Description

```text
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.
```

## Signals

- CVSS: 6.1 medium (v3.1, NVD) CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
- EPSS: 1.297%, percentile 71.374%, as of 2026-12-04
- Known exploited (KEV): CISA not listed, ENISA not listed, CIRCL not listed
- Ransomware use: none recorded
- Public exploits: 0

## Affected

- debian djangorestframework (Debian): \< 3.12.1-1
- ubuntu djangorestframework (Ubuntu): All versions (No fix recorded) \| \< 3.3.2-2ubuntu0.1~esm1 \| \< 3.7.7-1ubuntu0.1~esm1 \| \< 3.10.2-1ubuntu0.1~esm1
- debian debian\_linux: 11.0
- encode django\_rest\_framework: \< 3.12.0
- PyPI djangorestframework (PyPI): \< 3.11.2
- redhat ceph\_storage: 2.0
- opensuse python-djangorestframework-test&distro=openSUSE Leap 15.2 (openSUSE): \< 3.11.2-lp152.2.3.1
- opensuse python-djangorestframework&distro=openSUSE Leap 15.2 (openSUSE): \< 3.11.2-lp152.2.3.1
- opensuse python-djangorestframework&distro=openSUSE Tumbleweed (openSUSE): \< 3.18.0-1.1
- suse python-djangorestframework-test&distro=SUSE Package Hub 15 SP2 (SUSE Linux Enterprise): \< 3.11.2-bp152.2.3.1
- suse python-djangorestframework&distro=SUSE Package Hub 15 SP2 (SUSE Linux Enterprise): \< 3.11.2-bp152.2.3.1

## References

- <https://bugzilla.redhat.com/show_bug.cgi?id=1878635>
- <https://security.netapp.com/advisory/ntap-20201016-0003/>
- <https://www.debian.org/security/2022/dsa-5186>
- <https://lists.opensuse.org/archives/list/security-announce@lists.opensuse.org/thread/7NYNAEPY3UVCIEUTPMQBXFJ42XJG7RVG/>
- <https://bugzilla.suse.com/1177205>
- <https://www.suse.com/security/cve/CVE-2020-25626>
- <https://nvd.nist.gov/vuln/detail/CVE-2020-25626>
- <https://github.com/advisories/GHSA-fx83-3ph3-9j2q>
- <https://github.com/encode/django-rest-framework>
- <https://github.com/pypa/advisory-database/tree/main/vulns/djangorestframework/PYSEC-2020-263.yaml>
- <https://security.netapp.com/advisory/ntap-20201016-0003>
- <https://ubuntu.com/security/CVE-2020-25626>
- <https://www.cve.org/CVERecord?id=CVE-2020-25626>
- <https://security-tracker.debian.org/tracker/CVE-2020-25626>
- <https://lists.opensuse.org/archives/list/security-announce@lists.opensuse.org/thread/R3GZDKNNVOILNHAK6KSWOYM6URRERTB4/>
- <https://ubuntu.com/security/notices/USN-9421-1>

---

Data as of 2026-12-05T03:44:44.382Z. The priority label is CveMate's own model from public evidence, not an official rating, and it knows nothing about your assets. How labels are decided: https://cvemate.com/faq#priority
