CVE-2024-21501Apostrophecms Sanitize-html
Media 5.3 Sin autenticación
Seguir: esta CVE · Apostrophecms · Apostrophecms Sanitize-html Te avisamos por email o Slack (requiere cuenta).
- Prioridad
- 47
- CVSS 3.1
- 5.3
- EPSS
- 1.3% probabilidad de explotación en 30 días · percentil 71
- Requiere autenticación
- No
- Publicada
- 24 feb 2024
- Actualizada
- 17 jun 2026
- Categoría
- Aplicación · Multiplataforma
- SSVC (CISA)
- Explotación: prueba de concepto · Automatizable: sí · Impacto técnico: parcial
- Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N
Qué pasa
Versions of the package sanitize-html before 2.12.1 are vulnerable to Information Exposure when used on the backend and with the style attribute allowed, allowing enumeration of files in the system (including project dependencies). An attacker could exploit this vulnerability to gather details about the file system structure and dependencies of the targeted server.
Qué hacer
- Aplica la actualización de seguridad del fabricante para Sanitize-html.
- 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 |
|---|---|---|---|---|
| npm | sanitize-html |
< 2.12.1 |
2.12.1 |
npm install sanitize-html@2.12.1 |
Según OSV / GitHub Advisories (GHSA-rm97-x556-q36h). Verifica la versión en tu lockfile antes de actualizar.
Productos afectados (CPE)
| Fabricante | Producto | Versiones |
|---|---|---|
| apostrophecms | sanitize-html | < 2.12.1 |
| fedoraproject | fedora | 39 |
| fedoraproject | fedora | 40 |
Fuentes oficiales
Referencias
Enlaces publicados por las fuentes. Ábrelos con criterio.
- gist.github.com Exploit Third Party Advisory
- github.com Issue Tracking
- github.com Patch
- github.com Patch
- lists.fedoraproject.org Mailing List
- lists.fedoraproject.org Mailing List
- security.snyk.io Exploit Third Party Advisory
- security.snyk.io Exploit Third Party Advisory