NIST deprecates RSA-2048 from 2030. Find every one of them before attackers do.
💎
💎 RubyGems
Not in CISA KEV
HIGH severity

CVE-2024-32463 — phlex

HIGHFix: phlex-ruby/phlex@9e3f5b9

CVE-2024-32463 is a high-severity (CVSS 7.1) Cross-site Scripting (XSS) vulnerability in phlex. A fix is available for phlex — see the affected versions and patch details below.

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

Also known asGHSA-g7xq-xv8c-h98c
Published
Updated
Affected
7 pkgs
Patched
7 / 7
Exploits
None indexed
Exploitation data as of Nov 5, 2026 · OSV.dev, NVD, FIRST.org (EPSS)

Exploitation Status

No confirmed exploitation observed yet

  • CISA’s own triage has not observed active exploitation or public proof-of-concept code for this CVE as of its last assessment.

Exploitation and automatability from CISA’s SSVC triage for CVE-2024-32463.

EPSS Exploitation Probability

via FIRST.org ↗
0.6%probability of exploitation in next 30 days
Lower Risk0.00%
Lower risk than most CVEs48th percentile — riskier than 48% of all scored CVEsHighest risk
0.00%0.36%0.72%1.08%0.2%0.6%May 26Sep 26Nov 26

Probability of exploitation in the next 30 days, from FIRST.org EPSS.

How urgent is this, really

Where this sits among everything scored

Real-World Exposure

7 pkgs affected
💎phlex💎phlex💎phlex💎phlex💎phlex💎phlex💎phlex

Real-time download stats are indexed for npm and PyPI packages. This vulnerability affects RubyGems packages — download data is not available via public APIs for these ecosystems.

Description

Summary

There is a potential cross-site scripting (XSS) vulnerability that can be exploited via maliciously crafted user data.

Our 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:.

Impact

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.

a(href: user_profile) { "Profile" }

Mitigation

The best way to mitigate this vulnerability is to update to one of the following versions:

Workarounds

Configuring a Content Security Policy that does not allow unsafe-inline would effectively prevent this vulnerability from being exploited.

Affected Packages

7 total 7 fixed
EcosystemPackageVulnerable rangeFix
💎RubyGemsphlex≥ 1.10.0&&< 1.10.11.10.1bundle update phlex --conservative
💎RubyGemsphlex≥ 1.9.0&&< 1.9.21.9.2bundle update phlex --conservative
💎RubyGemsphlex≥ 1.8.0&&< 1.8.31.8.3bundle update phlex --conservative
💎RubyGemsphlex≥ 1.7.0&&< 1.7.21.7.2bundle update phlex --conservative
💎RubyGemsphlex≥ 1.6.0&&< 1.6.31.6.3bundle update phlex --conservative
💎RubyGemsphlex≥ 1.5.0&&< 1.5.31.5.3bundle update phlex --conservative

Detection & mitigation playbook

Open-source dependency
  1. Detect

    Scan your dependency tree (package-lock.json, pnpm-lock.yaml, requirements.txt, go.sum, etc.) for phlex, including transitive dependencies — a direct dependency you never call can still pull in a vulnerable version.

  2. Fix

    Update phlex to 1.10.1 or later, then make sure no transitive (indirect) dependency still pins the vulnerable range — O3 confirms CVE-2024-32463 is resolved across your whole dependency graph.

  3. Workarounds

    Escape or sanitise the affected output on the server side rather than relying on client-side filtering, and add a Content-Security-Policy that blocks inline script execution so injected markup cannot run even if it reaches the page.

Frequently Asked Questions

### Summary There is a potential cross-site scripting (XSS) vulnerability that can be exploited via maliciously crafted user data. Our 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:`. ### Impact 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. ```ruby a(href: user_profile) { "Profile" } ``` ### Mitigatio
O3 Security · Impact-Aware SCA

Is CVE-2024-32463 in your dependencies?

Find it across RubyGems, including transitive dependencies.

CVE-2024-32463: phlex XSS — Fixed in 1.10.1