CVE-2026-116538
HtmlSanitizer before 9.2.1039 XSS via SanitizeDom Body and HTML Attributes
Texto original en inglés · Ver en español
CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:P/VC:N/VI:N/VA:N/SC:L/SI:L/SA:N
Fuente: CNA
Ciclo de vida de la vulnerabilidad
| Fecha | Fase | Evento | Detalle |
|---|---|---|---|
| Remediación | Parche 10.0.1037-beta | HtmlSanitizer · -60 d desde divulgación | |
| Remediación | Parche 9.2.1039 | HtmlSanitizer · -59 d desde divulgación | |
| Divulgación | Publicada | CVE-2026-116538 divulgada · CVSS 2.3 (CNA) | |
| Monitoreo | Detectada | Ingresó al índice | |
| Monitoreo | Fuente: NIST NVD | Registro visto por primera vez en NIST NVD | |
| Monitoreo | Fuente: ENISA EUVD | Registro visto por primera vez en ENISA EUVD | |
| Divulgación | Evaluación SSVC | CISA-ADP · explotación ninguna | |
| Divulgación | Modificada | Última actualización del registro | |
| Monitoreo | Fuente: OSV | Registro visto por primera vez en OSV | |
| Monitoreo | Verificada | Última verificación contra las fuentes |
HtmlSanitizer, a .NET library used to clean untrusted HTML, is affected by a cross-site scripting flaw. Attackers can inject event-handler attributes such as onload through extra html or body tags, which can run malicious scripts in a user's browser when applications display the sanitized output.
Descripción original del registro (VulnCheck)
HtmlSanitizer before 9.2.1039 and 10.0 prereleases before 10.0.1037-beta contains a cross-site scripting vulnerability because SanitizeDom(string) never sanitizes attributes on the html and body wrapper elements. Attackers can supply input with a second body or html tag carrying event handlers like onload, executing script when applications render serialized document or body outer HTML.
Desglose de métricas
Rangos afectados
Estado del parche por paquete
| Paquete / producto | Estado | Corregida en | Desde divulgación | Última versión |
|---|---|---|---|---|
nugetHtmlSanitizer |
Corregida | 9.2.1039, 10.0.1037-beta | -59 d · -60 d | 11.0.26 no afectada |
9.2.103910.0.1037-betaArsenal público
Sin exploits, módulos ni PoC públicos conocidos a la fecha de verificación.
https://github.com/mganss/HtmlSanitizer/commit/96afbc818e64de7571ea17954a05d523e819c56fhttps://github.com/mganss/HtmlSanitizer/commit/ab626e7a4f2893f7e9ec0a72779ae19c5ec439a7https://github.com/mganss/HtmlSanitizer/blob/v9.2.995/src/HtmlSanitizer/HtmlSanitizer.cs#L456-L465https://github.com/mganss/HtmlSanitizer/blob/v9.2.995/src/HtmlSanitizer/HtmlSanitizer.cs#L555-L583https://joshua.hu/htmlsanitizer-sanitizedom-body-html-attribute-bypasshttps://github.com/mganss/HtmlSanitizer/releases/tag/v9.2.1039https://github.com/mganss/HtmlSanitizer/releases/tag/v10.0.1037-betahttps://github.com/mganss/HtmlSanitizerhttps://www.vulncheck.com/advisories/htmlsanitizer-before-9.2.1039-xss-via-sanitizedom-body-and-html-attributesLas referencias externas se muestran para copiar: cve.llama.ec no lo redirige a otros sitios.
