~ / search / GHSA-fx83-3ph3-9j2q

GHSA-fx83-3ph3-9j2q

Cross-site Scripting (XSS) in Django REST Framework

Source: GitHub Advisory Database (reviewed) Moderate CVE-2020-25626

Packages

EcosystemPackageAffectedFixed in
PyPI djangorestframework < 3.11.2 3.11.2

Details

As written in the advisory (Markdown source, shown as plain text).

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

External links from the advisory. They lead to third-party sites.