GHSA-MJXR-4V3X-Q3M4
Improper Input Validation in sanitize-html
Ciclo de vida de la vulnerabilidad
| Fecha | Fase | Evento | Detalle |
|---|---|---|---|
| Remediación | Parche 2.3.2 | sanitize-html · -100 d desde divulgación | |
| Divulgación | Publicada | GHSA-MJXR-4V3X-Q3M4 divulgada | |
| Divulgación | Modificada | Última actualización del registro | |
| Monitoreo | Detectada | Ingresó al índice |
Apostrophe Technologies sanitize-html before 2.3.2 does not properly validate the hostnames set by the "allowedIframeHostnames" option when the "allowIframeRelativeUrls" is set to true, which allows attackers to bypass hostname whitelist for iframe element, related using an src value that starts with "/\\example.com".
Rangos afectados
Estado del parche por paquete
| Paquete / producto | Estado | Corregida en | Desde divulgación | Última versión |
|---|---|---|---|---|
npmsanitize-html |
Corregida | 2.3.2 | -100 d | 2.18.2 no afectada |
2.3.2Arsenal público
Sin exploits, módulos ni PoC públicos conocidos a la fecha de verificación.
https://nvd.nist.gov/vuln/detail/CVE-2021-26540https://github.com/apostrophecms/sanitize-html/pull/460https://advisory.checkmarx.net/advisory/CX-2021-4309https://github.com/apostrophecms/sanitize-html/blob/main/CHANGELOG.md#232-2021-01-26Las referencias externas se muestran para copiar: cve.llama.ec no lo redirige a otros sitios.
