Vulnerability 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 Score
MEDIUM
Affected Products
| Vendor | Product | Versions |
|---|---|---|
| Encode | Django Rest Framework | < 3.12.0 |
| Redhat | Ceph Storage | 2.0 |
| Debian | Debian Linux | 11.0 |
Related Weaknesses (CWE)
References
- https://bugzilla.redhat.com/show_bug.cgi?id=1878635Issue TrackingVendor Advisory
- https://security.netapp.com/advisory/ntap-20201016-0003/Third Party Advisory
- https://www.debian.org/security/2022/dsa-5186Third Party Advisory
- https://bugzilla.redhat.com/show_bug.cgi?id=1878635Issue TrackingVendor Advisory
- https://security.netapp.com/advisory/ntap-20201016-0003/Third Party Advisory
- https://www.debian.org/security/2022/dsa-5186Third Party Advisory
FAQ
What is CVE-2020-25626?
CVE-2020-25626 is a vulnerability with a CVSS score of 6.1 (MEDIUM). 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 f...
How severe is CVE-2020-25626?
CVE-2020-25626 has been rated MEDIUM with a CVSS base score of 6.1/10. Review the CVSS metrics above for detailed severity breakdown.
Is there a patch for CVE-2020-25626?
Check the references section above for vendor advisories and patch information. Affected products include: Encode Django Rest Framework, Redhat Ceph Storage, Debian Debian Linux.