CVE-2020-25626
Medium
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.
SeverityMedium
CVSS6.1
Exploit probability—
Product
Encode Django Rest Framework
PublishedSep 30, 2020
First seenSep 30, 2020
Weakness typeCWE-20Improper input validation
How to fix
Update
- encode django_rest_framework3.12.0 or later
- djangorestframework3.11.2 or later
Vendor advisories
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| encode django_rest_framework | v < 3.12.0 | 3.12.0 |
| redhat ceph_storage | 2.0 | — |
| debian debian_linux | 11.0 | — |
| djangorestframeworkPyPI | v < 3.11.2 | 3.11.2 |
Check your version
Choose the product and enter the version you run to see whether it falls in the affected range.
In the Intelligence 360 plan
Attack Surface Management
See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.