CVE-2020-25626Published Sep 30, 2020 · Sep 30Updated Oct 24
Cross-site Scripting (XSS) in Django REST Framework
Django REST Framework
Medium6.1Fix available
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| djangorestframework PyPI |
|
|
Original 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.
From the CVE record · redhat