Amenazas en vivo

Todas las CVE / Phlex

CVE-2024-28199Phlex

Media 6.1 Sin autenticación

Prioridad
52
CVSS 3.1
6.1
EPSS
0.8%
probabilidad de explotación en 30 días · percentil 52
Requiere autenticación
No
Publicada
11 mar 2024
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

phlex is an open source framework for building object-oriented views in Ruby. There is a potential cross-site scripting (XSS) vulnerability that can be exploited via maliciously crafted user data. This was due to improper case-sensitivity in the code that was meant to prevent these attacks. If you render an `<a>` tag with an `href` attribute set to a user-provided link, that link could potentially execute JavaScript when clicked by another user. If you splat user-provided attributes when rendering any HTML tag, malicious event attributes could be included in the output, executing JavaScript when the events are triggered by another user. Patches are available on RubyGems for all 1.x minor versions. Users are advised to upgrade. Users unable to upgrade should consider configuring a content security policy that does not allow `unsafe-inline`.

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 Phlex.
  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 phlex ≥ 1.9.0 < 1.9.1 1.9.1 gem "phlex", ">= 1.9.1"
RubyGems phlex ≥ 1.8.0 < 1.8.2 1.8.2 gem "phlex", ">= 1.8.2"
RubyGems phlex ≥ 1.7.0 < 1.7.1 1.7.1 gem "phlex", ">= 1.7.1"
RubyGems phlex ≥ 1.6.0 < 1.6.2 1.6.2 gem "phlex", ">= 1.6.2"
RubyGems phlex ≥ 1.5.0 < 1.5.2 1.5.2 gem "phlex", ">= 1.5.2"
RubyGems phlex ≥ 1.4.0 < 1.4.1 1.4.1 gem "phlex", ">= 1.4.1"
RubyGems phlex ≥ 1.3.0 < 1.3.3 1.3.3 gem "phlex", ">= 1.3.3"
RubyGems phlex ≥ 1.2.0 < 1.2.2 1.2.2 gem "phlex", ">= 1.2.2"
RubyGems phlex ≥ 1.1.0 < 1.1.1 1.1.1 gem "phlex", ">= 1.1.1"
RubyGems phlex < 1.0.1 1.0.1 gem "phlex", ">= 1.0.1"

Según OSV / GitHub Advisories (GHSA-242p-4v39-2v8g). Verifica la versión en tu lockfile antes de actualizar.

Productos afectados (CPE)

FabricanteProductoVersiones
phlexphlex< 1.0.1
phlexphlex≥ 1.2.0 < 1.2.2
phlexphlex≥ 1.3.0 < 1.3.3
phlexphlex1.1.0
phlexphlex1.4.0
phlexphlex1.7.0
phlexphlex1.9.0

Fuentes oficiales

Referencias

Enlaces publicados por las fuentes. Ábrelos con criterio.