Vulnerability record · CVE-2020-25626 · published 30 September 2020
CVE-2020-25626: Encode django rest framework improper input validation vulnerability
Encode · Django Rest Framework
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.
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:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
Affected products
3 vulnerable configurations from NVD's CPE data, grouped by vendor and product.
References
| Link | Tags |
|---|---|
| https://bugzilla.redhat.com/show_bug.cgi?id=1878635 | Issue TrackingVendor Advisory |
| https://security.netapp.com/advisory/ntap-20201016-0003/ | Third Party Advisory |
| https://www.debian.org/security/2022/dsa-5186 | Third Party Advisory |
| https://bugzilla.redhat.com/show_bug.cgi?id=1878635 | Issue TrackingVendor Advisory |
| https://security.netapp.com/advisory/ntap-20201016-0003/ | Third Party Advisory |
| https://www.debian.org/security/2022/dsa-5186 | Third Party Advisory |
Track CVE-2020-25626 inside VULONE
Watch it alongside the ransomware crews, C2 infrastructure and forum chatter that reference it, query it through the API and pull it into your SIEM over TAXII.
Related vulnerabilities
Same products first, then exploited flaws of the same weakness class.
Source: NIST National Vulnerability Database (record CVE-2020-25626), CISA KEV, FIRST EPSS (scores of 2026-09-28). This page is refreshed as NVD updates the record.