CVE-2020-25626Encode Django Rest Framework
Media 6.1 Sin autenticación
Seguir: esta CVE · Encode · Encode Django Rest Framework Te avisamos por email o Slack (requiere cuenta).
- Prioridad
- 52
- CVSS 3.1
- 6.1
- EPSS
- 1.3% probabilidad de explotación en 30 días · percentil 70
- Requiere autenticación
- No
- Publicada
- 30 sep 2020
- Actualizada
- 17 jun 2026
- Categoría
- Aplicación · Multiplataforma
- Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
Qué pasa
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.
Qué hacer
- Aplica la actualización de seguridad del fabricante para Django Rest Framework.
- Se explota sin autenticación: si no puedes parchear ya, limita el acceso desde Internet al servicio afectado.
Paquetes afectados
| Ecosistema | Paquete | Versiones afectadas | Corregida en | Cómo actualizar |
|---|---|---|---|---|
| PyPI | djangorestframework |
< 3.11.2 |
3.11.2 |
pip install "djangorestframework>=3.11.2" |
| PyPI | djangorestframework |
< 3.11.2 |
3.11.2 |
pip install "djangorestframework>=3.11.2" |
Según OSV / GitHub Advisories (GHSA-fx83-3ph3-9j2q, PYSEC-2020-263). Verifica la versión en tu lockfile antes de actualizar.
Productos afectados (CPE)
| Fabricante | Producto | Versiones |
|---|---|---|
| encode | django_rest_framework | < 3.12.0 |
| redhat | ceph_storage | 2.0 |
| debian | debian_linux | 11.0 |
Boletines oficiales
- python313-djangorestframework-3.18.0-1.1 on GA media · SUSE · openSUSE-SU-2026:11571-1 · 21 ago 2026 Media
Avisos de fabricantes, CERT y distribuciones que nombran esta CVE. Títulos sin modificar.
Fuentes oficiales
Referencias
Enlaces publicados por las fuentes. Ábrelos con criterio.
- bugzilla.redhat.com Issue Tracking Vendor Advisory
- security.netapp.com Third Party Advisory
- www.debian.org Third Party Advisory