Todas las CVE / Htmlsanitizer Project
CVE-2020-26293Htmlsanitizer Project Htmlsanitizer
Media 6.1 Sin autenticación
Seguir: esta CVE · Htmlsanitizer Project · Htmlsanitizer Project Htmlsanitizer Te avisamos por email o Slack (requiere cuenta).
- 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
- 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.
Qué hacer
- Aplica la actualización de seguridad del fabricante para Htmlsanitizer.
- 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 |
|---|---|---|---|---|
| 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)
| Fabricante | Producto | Versiones |
|---|---|---|
| htmlsanitizer_project | htmlsanitizer | < 5.0.372 |
Fuentes oficiales
Referencias
Enlaces publicados por las fuentes. Ábrelos con criterio.
- github.com Patch Third Party Advisory
- github.com Release Notes Third Party Advisory
- github.com Third Party Advisory
- www.nuget.org Product Third Party Advisory