XSS in Encode Django Rest Framework
CVE-2020-25626
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.
Vulnerability class: Drupalgeddon 2 (CVE-2018-7600)
Published · last modified .
CVSS v3 metric
CVSS v3 base score 6.1 (Medium). Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N.
EPSS exploit prediction
EPSS: 0.013 (69.0th percentile), scored .
Low probability of exploitation in the next 30 days, but still tracked. 69th percentile — 69.0% of CVEs in the catalogue have a lower EPSS than this one. How to read EPSS.
EPSS over last 30 days · oldest: 0.013 · newest: 0.013 · change: 0.000
Affected products
- Encode Django Rest Framework
- Debian Linux — versions 11.0
- Red Hat Ceph Storage — versions 2.0
- Django Rest Framework — versions All django-rest-framework versions before 3.12.0 and before 3.11.2
Weakness classification (CWE)
Public proof-of-concept exploits
References
- bugzilla.redhat.com/show_bug.cgi (Issue Tracking, Vendor Advisory)
- security.netapp.com/advisory/ntap-20201016-0003/ (Third Party Advisory)
- www.debian.org/security/2022/dsa-5186 (vendor-advisory, Third Party Advisory)
Frequently asked questions
- What is CVE-2020-25626?
- CVE-2020-25626 is a medium-severity vulnerability in Encode Django Rest Framework, classified under Improper Input Validation. CVSS score: 6.1/10. Published 2020-09-30.
- How severe is CVE-2020-25626?
- Medium severity. CVSS v3 base score is 6.1 out of 10.
- Is CVE-2020-25626 known to be exploited?
- 1 public proof-of-concept repositories are indexed. Not currently listed in the CISA KEV catalog.