MEDIUM · 6.1

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 f...

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 Score

6.1

MEDIUM

CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
Attack Vector
NETWORK
Attack Complexity
LOW
Privileges Required
NONE
User Interaction
REQUIRED
Scope
CHANGED
Confidentiality
LOW
Integrity
LOW
Availability
NONE

Affected Products

VendorProductVersions
EncodeDjango Rest Framework< 3.12.0
RedhatCeph Storage2.0
DebianDebian Linux11.0

Related Weaknesses (CWE)

References

FAQ

What is CVE-2020-25626?

CVE-2020-25626 is a vulnerability with a CVSS score of 6.1 (MEDIUM). 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 f...

How severe is CVE-2020-25626?

CVE-2020-25626 has been rated MEDIUM with a CVSS base score of 6.1/10. Review the CVSS metrics above for detailed severity breakdown.

Is there a patch for CVE-2020-25626?

Check the references section above for vendor advisories and patch information. Affected products include: Encode Django Rest Framework, Redhat Ceph Storage, Debian Debian Linux.