Todas las CVE / Sanitize Project
CVE-2023-36823Sanitize Project Sanitize
Media 6.1 Sin autenticación
Seguir: esta CVE · Sanitize Project · Sanitize Project Sanitize Te avisamos por email o Slack (requiere cuenta).
- 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.
Qué hacer
- Aplica la actualización de seguridad del fabricante para Sanitize.
- 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 |
|---|---|---|---|---|
| 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)
| Fabricante | Producto | Versiones |
|---|---|---|
| sanitize_project | sanitize | ≥ 3.0.0 < 6.0.2 |
| debian | debian_linux | 10.0 |
Fuentes oficiales
Referencias
Enlaces publicados por las fuentes. Ábrelos con criterio.
- github.com Patch
- github.com Release Notes
- github.com Vendor Advisory
- lists.debian.org Mailing List