Todas las CVE / Htmlsanitizer Project
CVE-2023-44390Htmlsanitizer 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
- 0.5% probabilidad de explotación en 30 días · percentil 37
- Requiere autenticación
- No
- Publicada
- 5 oct 2023
- Actualizada
- 17 jun 2026
- Categoría
- Aplicación · Multiplataforma
- Debilidad (CWE)
- CWE-79
- SSVC (CISA)
- Explotación: ninguna · Automatizable: no · Impacto técnico: parcial
- 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. The vulnerability occurs in configurations where foreign content is allowed, i.e. either `svg` or `math` are in the list of allowed elements. In the case an application sanitizes user input with a vulnerable configuration, an attacker could bypass the sanitization and inject arbitrary HTML, including JavaScript code. Note that in the default configuration the vulnerability is not present. The vulnerability has been fixed in versions 8.0.723 and 8.1.722-beta (preview version).
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 |
< 8.0.723 |
8.0.723 |
dotnet add package HtmlSanitizer --version 8.0.723 |
| NuGet | HtmlSanitizer |
≥ 8.1.0-beta < 8.1.722-beta |
8.1.722-beta |
dotnet add package HtmlSanitizer --version 8.1.722-beta |
Según OSV / GitHub Advisories (GHSA-43cp-6p3q-2pc4). Verifica la versión en tu lockfile antes de actualizar.
Productos afectados (CPE)
| Fabricante | Producto | Versiones |
|---|---|---|
| htmlsanitizer_project | htmlsanitizer | < 8.0.723 |
| htmlsanitizer_project | htmlsanitizer | 8.1.719 |
Fuentes oficiales
Referencias
Enlaces publicados por las fuentes. Ábrelos con criterio.
- github.com Patch
- github.com Vendor Advisory