llamaCVEVulnerability Intelligence
/
HtmlSanitizer

CVE-2020-26293

Possible XSS bypass if style tag is allowed

Texto original en inglés · Ver en español

Parche disponibleinjection
Descargar PNG JSON
CVSS 3.1
6.1
Media
CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:C/C:N/I:H/A:N Fuente: CNA
ExplotaciónSin evidenciaNo figura en CISA KEV
Exploits públicos0Ninguno conocido
Parche1 versiónPrimer parche a -12 d de la divulgación
Exposición2.146 dDesde la divulgación, 4 ene 2021, 1:20 p. m.
Detección2.142 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 5.0.372
Monitoreo
Detectada
23 dic 20
4 ene 21
4 ago 24
17 nov 26
20 nov 26
23 dic 20
16 jun 22
7 dic 23
30 may 25
20 nov 26
FechaFaseEventoDetalle
Remediación Parche 5.0.372 HtmlSanitizer · -12 d desde divulgación
Divulgación Publicada CVE-2020-26293 divulgada · CVSS 6.1 (CNA)
Divulgación Modificada Última actualización del registro
Monitoreo Detectada Ingresó al índice
Resumen

HtmlSanitizer is a .NET library for cleaning HTML fragments and documents from constructs that can lead to XSS attacks. In HtmlSanitizer before version 5.0.372, there is a possible XSS bypass if style tag is allowed. If you have explicitly allowed the `<style>` tag, an attacker could craft HTML that includes script after passing through the sanitizer. The default settings disallow the `<style>` tag so there is no risk if you have not explicitly allowed the `<style>` tag. The problem has been fixed in version 5.0.372.

Vector CVSS 3.1

Desglose de métricas

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

Rangos afectados

Afectada Corregida Última
HtmlSanitizer< 5.0.372
5.0.372
11.0.26
Remediación

Estado del parche por paquete

Paquete / productoEstadoCorregida enDesde divulgaciónÚltima versión
nugetHtmlSanitizer
Corregida 5.0.372 -12 d 11.0.26 no afectada
Versiones corregidas5.0.372
Explotación

Arsenal público

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

Referencias
Fabricantehttps://github.com/mganss/HtmlSanitizer/security/advisories/GHSA-8j9v-h2vp-2hhv
Otrahttps://www.nuget.org/packages/HtmlSanitizer/
Otrahttps://github.com/mganss/HtmlSanitizer/releases/tag/v5.0.372
Otrahttps://github.com/mganss/HtmlSanitizer/commit/a3a7602a44d4155d51ec0fbbedc2a49e9c7e2eb8

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