CVE-2022-25887Apostrophecms Sanitize-html
Alta 7.5 Sin autenticación
Seguir: esta CVE · Apostrophecms · Apostrophecms Sanitize-html Te avisamos por email o Slack (requiere cuenta).
- Prioridad
- 60
- CVSS 3.1
- 7.5
- EPSS
- 1.6% probabilidad de explotación en 30 días · percentil 77
- Requiere autenticación
- No
- Publicada
- 30 ago 2022
- Actualizada
- 17 jun 2026
- Categoría
- Aplicación · Multiplataforma
- Debilidad (CWE)
- CWE-1333
- Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Qué pasa
The package sanitize-html before 2.7.1 are vulnerable to Regular Expression Denial of Service (ReDoS) due to insecure global regular expression replacement logic of HTML comment removal.
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.7.1 |
2.7.1 |
npm install sanitize-html@2.7.1 |
Según OSV / GitHub Advisories (GHSA-cgfm-xwp7-2cvr). Verifica la versión en tu lockfile antes de actualizar.
Productos afectados (CPE)
| Fabricante | Producto | Versiones |
|---|---|---|
| apostrophecms | sanitize-html | < 2.7.1 |
Fuentes oficiales
Referencias
Enlaces publicados por las fuentes. Ábrelos con criterio.
- github.com Patch Third Party Advisory
- github.com Issue Tracking Patch Third Party Advisory
- security.snyk.io Patch Third Party Advisory
- security.snyk.io Patch Third Party Advisory