CVE-2020-25626: Cross-site Scripting (XSS) in Django REST Framework
(updated )
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 tags, leading to a cross-site-scripting (XSS) vulnerability.
References
- bugzilla.redhat.com/show_bug.cgi?id=1878635
- github.com/advisories/GHSA-fx83-3ph3-9j2q
- github.com/encode/django-rest-framework
- github.com/pypa/advisory-database/tree/main/vulns/djangorestframework/PYSEC-2020-263.yaml
- nvd.nist.gov/vuln/detail/CVE-2020-25626
- security.netapp.com/advisory/ntap-20201016-0003
- www.debian.org/security/2022/dsa-5186
Detect and mitigate CVE-2020-25626 with GitLab Dependency Scanning
Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →