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.
Metrics
Affected Vendors & Products
Advisories
Source | ID | Title |
---|---|---|
![]() |
DSA-5186-1 | djangorestframework security update |
![]() |
EUVD-2020-0073 | 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. |
![]() |
GHSA-fx83-3ph3-9j2q | Cross-site Scripting (XSS) in Django REST Framework |
Fixes
Solution
No solution given by the vendor.
Workaround
No workaround given by the vendor.
References
History
No history.

Status: PUBLISHED
Assigner: redhat
Published:
Updated: 2024-08-04T15:40:35.425Z
Reserved: 2020-09-16T00:00:00
Link: CVE-2020-25626

No data.

Status : Modified
Published: 2020-09-30T20:15:15.480
Modified: 2024-11-21T05:18:16.460
Link: CVE-2020-25626


No data.