What’s Vulnerable › Vulnerabilities
CVE-2020-25626
- Severity: medium (CVSS 6.1 v3.1)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 1.3% probability of exploitation in the next 30 days
- Public exploit or detection template: none known
- Published: 2020-09-30 · updated 2026-06-17
- Weakness: CWE-20
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.
Affected products
- Debian Linux: 11.0
- encode Django Rest Framework: before 3.12.0 — fixed in 3.12.0
- Red Hat Ceph Storage: 2.0
How to fix
Upgrade to a fixed version: encode Django Rest Framework 3.12.0. Check the vendor advisory for mitigations.
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://bugzilla.redhat.com/show_bug.cgi?id=1878635
- https://security.netapp.com/advisory/ntap-20201016-0003/
- https://www.debian.org/security/2022/dsa-5186
Get alerted when CVE-2020-25626 or the next vulnerability affects your stack