Live threats

All CVEs / phlex-ruby

CVE-2024-32463phlex-ruby phlex

High 7.1 No auth needed

Priority
58
CVSS 3.1
7.1
EPSS
0.8%
probability of exploitation in 30 days · percentile 54
Auth required
No
Published
Apr 17, 2024
Updated
Jun 17, 2026
Category
Application · Cross-platform
Weakness (CWE)
CWE-79
SSVC (CISA)
Exploitation: none · Automatable: no · Technical impact: partial
Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:L/A:N

What happens

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. The filter to detect and prevent the use of the `javascript:` URL scheme in the `href` attribute of an `<a>` tag could be bypassed with tab `\t` or newline `\n` characters between the characters of the protocol, e.g. `java\tscript:`. This vulnerability is fixed in 1.10.1, 1.9.2, 1.8.3, 1.7.2, 1.6.3, 1.5.3, and 1.4.2. Configuring a Content Security Policy that does not allow `unsafe-inline` would effectively prevent this vulnerability from being exploited.

Original NVD text.

What to do

  1. Apply the vendor's security update for phlex.
  2. It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.

Affected packages

EcosystemPackageAffected versionsFixed inHow to upgrade
RubyGems phlex ≥ 1.10.0 < 1.10.1 1.10.1 gem "phlex", ">= 1.10.1"
RubyGems phlex ≥ 1.9.0 < 1.9.2 1.9.2 gem "phlex", ">= 1.9.2"
RubyGems phlex ≥ 1.8.0 < 1.8.3 1.8.3 gem "phlex", ">= 1.8.3"
RubyGems phlex ≥ 1.7.0 < 1.7.2 1.7.2 gem "phlex", ">= 1.7.2"
RubyGems phlex ≥ 1.6.0 < 1.6.3 1.6.3 gem "phlex", ">= 1.6.3"
RubyGems phlex ≥ 1.5.0 < 1.5.3 1.5.3 gem "phlex", ">= 1.5.3"
RubyGems phlex < 1.4.2 1.4.2 gem "phlex", ">= 1.4.2"

Per OSV / GitHub Advisories (GHSA-g7xq-xv8c-h98c). Check the version in your lockfile before upgrading.

Affected products

As reported by the CNA that published the CVE. NVD has not added CPEs with versions yet.

Official sources

References

Links published by the sources. Open them with care.