llamaCVEVulnerability Intelligence
/
n/a

CVE-2021-26540

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…

Parche disponible
Descargar PNG JSON
CVSS 3.1
5.3
Media
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N Fuente: NVD
ExplotaciónSin evidenciaNo figura en CISA KEV
Exploits públicos0Ninguno conocido
Parche1 versiónPrimer parche a -13 d de la divulgación
Exposición2.109 dDesde la divulgación, 8 feb 2021, 11:16 a. m.
Detección2.093 dDesde la divulgación hasta su ingreso al índice
Timeline

Ciclo de vida de la vulnerabilidad

Hoy
Divulgación
Publicada
Modificada
Explotación
Remediación
Parche 2.3.2
Monitoreo
Detectada
Verificada
26 ene 21
8 feb 21
3 ago 24
3 nov 26
13 nov 26
19 nov 26
26 ene 21
11 jul 22
24 dic 23
6 jun 25
19 nov 26
FechaFaseEventoDetalle
Remediación Parche 2.3.2 sanitize-html · -13 d desde divulgación
Divulgación Publicada CVE-2021-26540 divulgada · CVSS 5.3 (NVD)
Divulgación Modificada Última actualización del registro
Monitoreo Detectada Ingresó al índice
Monitoreo Verificada Última verificación contra las fuentes
Resumen

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".

Vector CVSS 3.1

Desglose de métricas

Opción resaltada = valor del vector · izquierda = peor caso · NVD
Vector de ataqueAV:N
RedAdyacenteLocalFísica
ComplejidadAC:L
BajaAlta
PrivilegiosPR:N
NingunoBajosAltos
InteracciónUI:N
NingunaRequerida
AlcanceS:U
CambiadoSin cambio
ConfidencialidadC:N
AltoBajoNinguno
IntegridadI:L
AltoBajoNinguno
DisponibilidadA:N
AltoBajoNinguno
Versiones

Rangos afectados

Afectada Corregida Última
sanitize-html< 2.3.2
2.3.2
2.18.2
Remediación

Estado del parche por paquete

Paquete / productoEstadoCorregida enDesde divulgaciónÚltima versión
npmsanitize-html
Corregida 2.3.2 -13 d 2.18.2 no afectada
Versiones corregidas2.3.2
Explotación

Arsenal público

Sin exploits, módulos ni PoC públicos conocidos a la fecha de verificación.

Referencias
Otrahttps://github.com/apostrophecms/sanitize-html/blob/main/CHANGELOG.md#232-2021-01-26
Otrahttps://github.com/apostrophecms/sanitize-html/pull/460
Otrahttps://advisory.checkmarx.net/advisory/CX-2021-4309

Las referencias externas se muestran para copiar: cve.llama.ec no lo redirige a otros sitios.