Amenazas en vivo

Todas las CVE / Sanitize Project

CVE-2023-36823Sanitize Project Sanitize

Media 6.1 Sin autenticación

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

Qué pasa

Sanitize is an allowlist-based HTML and CSS sanitizer. Using carefully crafted input, an attacker may be able to sneak arbitrary HTML and CSS through Sanitize starting with version 3.0.0 and prior to version 6.0.2 when Sanitize is configured to use the built-in "relaxed" config or when using a custom config that allows `style` elements and one or more CSS at-rules. This could result in cross-site scripting or other undesired behavior when the malicious HTML and CSS are rendered in a browser. Sanitize 6.0.2 performs additional escaping of CSS in `style` element content, which fixes this issue. Users who are unable to upgrade can prevent this issue by using a Sanitize config that doesn't allow `style` elements, using a Sanitize config that doesn't allow CSS at-rules, or by manually escaping the character sequence `</` as `<\/` in `style` element content.

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 Sanitize.
  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
RubyGems sanitize ≥ 3.0.0 < 6.0.2 6.0.2 gem "sanitize", ">= 6.0.2"

Según OSV / GitHub Advisories (GHSA-f5ww-cq3m-q3g7). Verifica la versión en tu lockfile antes de actualizar.

Productos afectados (CPE)

FabricanteProductoVersiones
sanitize_projectsanitize≥ 3.0.0 < 6.0.2
debiandebian_linux10.0

Fuentes oficiales

Referencias

Enlaces publicados por las fuentes. Ábrelos con criterio.