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)
EPSS: 0.013 (67.2th percentile) — read the EPSS interpretation.
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.
Affected products
- Encode Django_rest_framework
- Debian Debian_linux — versions 11.0
- Redhat Ceph_storage — versions 2.0
- N/a 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
- secalert@redhat.com (x_refsource_MISC, Issue Tracking, Vendor Advisory)
- secalert@redhat.com (x_refsource_CONFIRM, Third Party Advisory)
- secalert@redhat.com (vendor-advisory, Third Party Advisory, x_refsource_DEBIAN)
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.