Skip to main content
← All vulnerabilities
CVE-2020-25626PYSEC-2020-263GHSA-FX83-3PH3-9J2Q

A flaw was found in Django REST Framework versions before 3.12.0 and before 3.11.2.

Published
Last modified
published
Not listed in CISA KEV
Fix
Fixed in 3.11.2
None on Exploit-DB, Metasploit or GitHub

Summary

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.

Timeline

  1. CVE published
  2. Record last updated

Affected versions

  • n/a Django REST Framework

    Version range not reported

  • djangorestframeworkPyPI

    fixed in 3.11.2

References 3

bugzilla.redhat.com

security.netapp.com

debian.org