Read the docs
TI-2024-21358 Aliases CVE-2024-32463GHSA-g7xq-xv8c-h98c

phlex makes Cross-site Scripting (XSS) possible due to improper sanitisation of `href` attributes on `<a>` tags

Priority LOW 32CWE-79Published · Updated

Key facts

Attack vector
Network
Privileges required
None
User interaction
Required
Attack complexity
Low
Impact type
Cross-site scripting
Confidentiality · integrity · availability
High · Low · None
Fix status
Fixed

Attack profile from CVSS 3.1 · CNA. Fix status from CNA and GitHub. Impact type from CWE-79.

Summary

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.

Why it matters now

Exploitation None reported CISA SSVC · not in CISA KEV
EPSS 0.00575 47th percentileScored 2026-11-07
Fix Fixed phlex (phlex-ruby): 1.10.1, 1.9.2, 1.8.3 +4phlex (RubyGems): 1.10.1, 1.9.2, 1.8.3 +4

SSVC decision points

CISA ADP · SSVC 2.0.3

Exploitation
None
Automatable
No
Technical impact
Partial

The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.

Affected products

VendorProductAffected versionsFixed inStatusSource
phlex-rubyphlex1.10.0 to before 1.10.1; 1.9.0 to before 1.9.2; 1.8.0 to before 1.8.3; 1.7.0 to before 1.7.2; 1.6.0 to before 1.6.3; 1.5.0 to before 1.5.3; 1.4.0 to before 1.4.21.10.1, 1.9.2, 1.8.3, 1.7.2, 1.6.3, 1.5.3, 1.4.2Patch availableCNA
—phlex (RubyGems)1.10.0 to before 1.10.11.10.1Patch availableGHSA-g7xq-xv8c-h98c
—phlex (RubyGems)1.9.0 to before 1.9.21.9.2Patch availableGHSA-g7xq-xv8c-h98c
—phlex (RubyGems)1.8.0 to before 1.8.31.8.3Patch availableGHSA-g7xq-xv8c-h98c
—phlex (RubyGems)1.7.0 to before 1.7.21.7.2Patch availableGHSA-g7xq-xv8c-h98c
—phlex (RubyGems)1.6.0 to before 1.6.31.6.3Patch availableGHSA-g7xq-xv8c-h98c
—phlex (RubyGems)1.5.0 to before 1.5.31.5.3Patch availableGHSA-g7xq-xv8c-h98c
—phlex (RubyGems)before 1.4.21.4.2Patch availableGHSA-g7xq-xv8c-h98c
  • phlex Vendorphlex-ruby Affected 1.10.0 to before 1.10.1; 1.9.0 to before 1.9.2; 1.8.0 to before 1.8.3; 1.7.0 to before 1.7.2; 1.6.0 to before 1.6.3; 1.5.0 to before 1.5.3; 1.4.0 to before 1.4.2 Fixed in 1.10.1, 1.9.2, 1.8.3, 1.7.2, 1.6.3, 1.5.3, 1.4.2 Patch available CNA
  • phlex (RubyGems) Vendor— Affected 1.10.0 to before 1.10.1 Fixed in 1.10.1 Patch available GHSA-g7xq-xv8c-h98c
  • phlex (RubyGems) Vendor— Affected 1.9.0 to before 1.9.2 Fixed in 1.9.2 Patch available GHSA-g7xq-xv8c-h98c
  • phlex (RubyGems) Vendor— Affected 1.8.0 to before 1.8.3 Fixed in 1.8.3 Patch available GHSA-g7xq-xv8c-h98c
  • phlex (RubyGems) Vendor— Affected 1.7.0 to before 1.7.2 Fixed in 1.7.2 Patch available GHSA-g7xq-xv8c-h98c
  • phlex (RubyGems) Vendor— Affected 1.6.0 to before 1.6.3 Fixed in 1.6.3 Patch available GHSA-g7xq-xv8c-h98c
  • phlex (RubyGems) Vendor— Affected 1.5.0 to before 1.5.3 Fixed in 1.5.3 Patch available GHSA-g7xq-xv8c-h98c
  • phlex (RubyGems) Vendor— Affected before 1.4.2 Fixed in 1.4.2 Patch available GHSA-g7xq-xv8c-h98c

CPE names CISA-ADP · 1

CPEVersionsRoleVendor
cpe:2.3:a:ruby:fileutils:1.0.0:*:*:*:*:*:*:*1.0.0——
  • cpe:2.3:a:ruby:fileutils:1.0.0:*:*:*:*:*:*:* Versions 1.0.0 — ·—

Remediation

  • Fix · CNA phlex (phlex-ruby) Fixed in 1.10.1, 1.9.2, 1.8.3, 1.7.2, 1.6.3, 1.5.3, 1.4.2
  • Fix · GHSA-g7xq-xv8c-h98c phlex (RubyGems) Fixed in 1.10.1 Advisory →
  • Fix · GHSA-g7xq-xv8c-h98c phlex (RubyGems) Fixed in 1.9.2 Advisory →
  • Fix · GHSA-g7xq-xv8c-h98c phlex (RubyGems) Fixed in 1.8.3 Advisory →
  • Fix · GHSA-g7xq-xv8c-h98c phlex (RubyGems) Fixed in 1.7.2 Advisory →
  • Fix · GHSA-g7xq-xv8c-h98c phlex (RubyGems) Fixed in 1.6.3 Advisory →
  • Fix · GHSA-g7xq-xv8c-h98c phlex (RubyGems) Fixed in 1.5.3 Advisory →
  • Fix · GHSA-g7xq-xv8c-h98c phlex (RubyGems) Fixed in 1.4.2 Advisory →

Timeline

  1. 2026-10-02 Threatist record created from CVE-2024-32463
  2. 2026-10-03 Alias added: GHSA-g7xq-xv8c-h98c

References

  • TI-2024-21836 Cross-site Scripting (XSS) possible with maliciously formed HTML attribute names and values in Phlex CVSS 3.1HIGH 7.1

Sources