PYSEC-2020-263
Dashboard / Vulnerabilities / PYSEC-2020-263
PYSEC-2020-263
Published: 30 Sept 2020Last Modified: 8 Nov 2023
Aliases:
Summary:
Details: 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.
References: https://bugzilla.redhat.com/show_bug.cgi?id=1878635, https://security.netapp.com/advisory/ntap-20201016-0003/, https://github.com/advisories/GHSA-fx83-3ph3-9j2q
Affected packages
Package
Name: djangorestframework
Purl: pkg:pypi/djangorestframework
Affected ranges
Type: ECOSYSTEM
Events:
Introduced- 0
Fixed -3.11.2
Affected versions
0.1
0.1.1
Common Vulnerability Scoring System
Attack Vector
Network
Adjacent
Local
Physical
Privileges Required
None
Low
High
User Interaction
None
Required
Scope
Unchanged
Changed
Confidentiality
None
Low
High
Integrity
None
Low
High
Availability
None
Low
High
