Amenazas en vivo

Todas las CVE / Htmlsanitizer Project

CVE-2020-26293Htmlsanitizer Project Htmlsanitizer

Media 6.1 Sin autenticación

Prioridad
52
CVSS 3.1
6.1
EPSS
1.0%
probabilidad de explotación en 30 días · percentil 64
Requiere autenticación
No
Publicada
4 ene 2021
Actualizada
17 jun 2026
Categoría
Aplicación · Multiplataforma
Debilidad (CWE)
CWE-74, CWE-79
Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N

Qué pasa

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.

Texto original de NVD, en inglés. La traducción y el resumen en español llegan pronto.

Qué hacer

  1. Aplica la actualización de seguridad del fabricante para Htmlsanitizer.
  2. Se explota sin autenticación: si no puedes parchear ya, limita el acceso desde Internet al servicio afectado.

Paquetes afectados

EcosistemaPaqueteVersiones afectadasCorregida enCómo actualizar
NuGet HtmlSanitizer < 5.0.372 5.0.372 dotnet add package HtmlSanitizer --version 5.0.372

Según OSV / GitHub Advisories (GHSA-8j9v-h2vp-2hhv). Verifica la versión en tu lockfile antes de actualizar.

Productos afectados (CPE)

FabricanteProductoVersiones
htmlsanitizer_projecthtmlsanitizer< 5.0.372

Fuentes oficiales

Referencias

Enlaces publicados por las fuentes. Ábrelos con criterio.