NetSight
medium6.1

CVE-2020-25626

Cross-site Scripting (XSS) in Django REST Framework

Impact

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.

Affected packages

EcosystemPackageAffectedFixed in
pipdjangorestframework< 3.11.23.11.2

Affected products

VendorProductAffected versions
EncodeDjango Rest Framework
before 3.12.0
RedhatCeph Storage
Version 2.0
DebianDebian Linux
Version 11.0

Weakness classification

References