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—
ProductEncode Django Rest Framework
PublishedSep 30, 2020
First seenSep 30, 2020

How to fix

Update
  • encode django_rest_framework3.12.0 or later
  • djangorestframework3.11.2 or later

Affected products

ProductAffected versionsFixed in
encode django_rest_frameworkv < 3.12.03.12.0
redhat ceph_storage2.0—
debian debian_linux11.0—
djangorestframeworkPyPIv < 3.11.23.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.

CVE-2020-25626 · Encode Django Rest Framework · Dark Radar