Cross-site Scripting (XSS) in Django REST Framework
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.
Betroffene Software
Klicken Sie auf eine Technologie, um alle zugehörigen Schwachstellen anzuzeigen.
| Plattform | Paket | Anfällige Versionen | Behoben in |
|---|---|---|---|
| Python (PyPI) | djangorestframework | < 3.11.2 | 3.11.2 |
Verweise
- 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
- https://nvd.nist.gov/vuln/detail/CVE-2020-25626
- https://github.com/encode/django-rest-framework
- https://github.com/pypa/advisory-database/tree/main/vulns/djangorestframework/PYSEC-2020-263.yaml
- https://security.netapp.com/advisory/ntap-20201016-0003
- https://www.debian.org/security/2022/dsa-5186
- CVSS-Vektor
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N- Schwäche (CWE)
CWE-20, CWE-79- Plattform
- Python (PyPI)
- Paket
djangorestframework- Veröffentlicht
- 30.09.2020
- Aktualisiert
- 11.10.2026 11:20
Quellen und Lizenzen
OSV / GitHub Advisory Database - PYSEC-2020-263 - PyPA Advisory Database; CC BY 4.0
OSV / GitHub Advisory Database - GHSA-fx83-3ph3-9j2q - CC BY 4.0
Schwachstellenhistorie: djangorestframework
Alle veröffentlichten Schwachstellen dieses Pakets (Python (PyPI)), neueste zuerst. Zeigt, ob es ein einmaliger Ausrutscher ist oder ein Paket, das man im Auge behalten muss.
- Einträge insgesamt
- 4
- Erste → letzte
- 09.2020 09.2026
- Ohne Fix
- 0
- In Angriffen ausgenutzt
- 0
Verteilung nach Schweregrad
- Mittel 3
- Niedrig 1
Veröffentlichungen pro Jahr
- 2020: 1
- 2021: 0
- 2022: 0
- 2023: 0
- 2024: 1
- 2025: 0
- 2026: 2
-
Cross-site Scripting (XSS) in Django REST Framework dieser Eintrag
Erkennen Sie Schwachstellen in Ihrer Anwendung
Mit der DockRay-Integration und aktivierter Softwareinventarisierung prüft DockRay gemeldete Komponentenversionen auf bekannte Schwachstellen und benachrichtigt Sie über bestätigte Treffer. Die Abdeckung hängt von der unterstützten Technologie und den verfügbaren Meldungen ab.