CVE-2021-26539Apostrophecms 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
- 2.0% probabilidad de explotación en 30 días · percentil 81
- Requiere autenticación
- No
- Publicada
- 8 feb 2021
- Actualizada
- 17 jun 2026
- Categoría
- Aplicación · Multiplataforma
- Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N
Qué pasa
Apostrophe Technologies sanitize-html before 2.3.1 does not properly handle internationalized domain name (IDN) which could allow an attacker to bypass hostname whitelist validation set by the "allowedIframeHostnames" option.
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.3.1 |
2.3.1 |
npm install sanitize-html@2.3.1 |
Según OSV / GitHub Advisories (GHSA-rjqq-98f6-6j3r). Verifica la versión en tu lockfile antes de actualizar.
Productos afectados (CPE)
| Fabricante | Producto | Versiones |
|---|---|---|
| apostrophecms | sanitize-html | < 2.3.1 |
Fuentes oficiales
Referencias
Enlaces publicados por las fuentes. Ábrelos con criterio.
- advisory.checkmarx.net Exploit Third Party Advisory
- github.com Release Notes Third Party Advisory
- github.com Patch Third Party Advisory