Medium severity · published Sep 30, 2020
CVE-2020-25626
A flaw was found in Django REST Framework versions before 3.12.0 and before 3.11.2
6.1
CVSS
1.3%
EPSS
No
On KEV
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.
CVSS vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
Attack vector
Network
Complexity
Low
Privileges
None
User interaction
Required
Confidentiality
Low
Integrity
Low
Availability
None
Scope
Changed
Exploitation
Is it being used?
Exploit prediction (EPSS)1.3% · higher than 70% of CVEs
Exploited in the wildNo evidence yet
CISA KEVNot listed
Ransomware campaign useNot known
Affected products
Which versions
CS
Ceph Storage · Redhat
2.0 · source: NVD
DL
Debian Linux · Debian
11.0 · source: NVD
DR
Django Rest Framework · Encode
before 3.12.0 · source: NVD
References
NVD
https://nvd.nist.gov/vuln/detail/CVE-2020-25626
CVE.org
https://www.cve.org/CVERecord?id=CVE-2020-25626
Issue Tracking
https://bugzilla.redhat.com/show_bug.cgi?id=1878635
Third Party Advisory
https://security.netapp.com/advisory/ntap-20201016-0003/
Third Party Advisory
https://www.debian.org/security/2022/dsa-5186
More from Debian Linux
10.0
CVE-2025-32433
Erlang/OTP SSH Vulnerable to Pre-Authentication RCE
10.0
CVE-2025-24201
Apple Multiple Products WebKit Out-of-Bounds Write Vulnerability
10.0
CVE-2021-44228
Apache Log4j2 JNDI features do not protect against attacker controlled LDAP and other JNDI related endpoints
10.0
CVE-2015-3306
ProFTPD Improper Access Control Vulnerability
9.8
CVE-2026-24061
GNU InetUtils Argument Injection Vulnerability
