Todas las CVE / django-rest-framework
CVE-2024-21520django-rest-framework django_rest_framework
Baja 2.1 Sin autenticación
Seguir: esta CVE · django-rest-framework · django-rest-framework django_rest_framework Te avisamos por email o Slack (requiere cuenta).
- Prioridad
- 28
- CVSS 4.0
- 2.1
- EPSS
- 1.6% probabilidad de explotación en 30 días · percentil 76
- Requiere autenticación
- No
- Publicada
- 26 jun 2024
- Actualizada
- 17 jun 2026
- Categoría
- Aplicación · Multiplataforma
- Debilidad (CWE)
- CWE-79
- SSVC (CISA)
- Explotación: prueba de concepto · Automatizable: no · Impacto técnico: parcial
- Vector
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:P/VC:N/VI:L/VA:N/SC:L/SI:L/SA:N/E:P/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
Qué pasa
Versions of the package djangorestframework before 3.15.2 are vulnerable to Cross-site Scripting (XSS) via the break_long_headers template filter due to improper input sanitization before splitting and joining with <br> tags.
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.15.2 |
3.15.2 |
pip install "djangorestframework>=3.15.2" |
| PyPI | djangorestframework |
< 3.15.2 |
3.15.2 |
pip install "djangorestframework>=3.15.2" |
Según OSV / GitHub Advisories (GHSA-gw84-84pc-xp82, PYSEC-2026-1304). Verifica la versión en tu lockfile antes de actualizar.
Productos afectados
- django-rest-framework · django_rest_framework
Según el CNA que publicó la CVE. NVD todavía no cargó los CPE con versiones.
Boletines oficiales
- python311-djangorestframework-3.16.1-2.1 on GA media · SUSE · openSUSE-SU-2026:10115-1 · 29 ene 2026 Baja
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.