XSS in Phlex-Ruby Phlex

CVE-2024-32463

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.

Vulnerability class: XSS (Cross-Site Scripting)

Published · last modified .

CVSS v3 metric

CVSS v3 base score 7.1 (High). Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:L/A:N.

EPSS exploit prediction

EPSS: 0.006 (45.3th percentile), scored .

Very low probability of exploitation in the next 30 days; routine patching cadence is appropriate. 45th percentile — 45.3% of CVEs in the catalogue have a lower EPSS than this one. How to read EPSS.

EPSS trend (30 days)EPSS over the last 30 days for CVE-2024-32463: held from 0.006 to 0.006.

EPSS over last 30 days · oldest: 0.006 · newest: 0.006 · change: 0.000

Affected products

  • Phlex-Ruby Phlex — versions >= 1.10.0, < 1.10.1, >= 1.9.0, < 1.9.2, >= 1.8.0, < 1.8.3

Weakness classification (CWE)

References

Frequently asked questions

What is CVE-2024-32463?
CVE-2024-32463 is a high-severity vulnerability in Phlex-Ruby Phlex, classified under Cross-site Scripting. CVSS score: 7.1/10. Published 2024-04-17.
How severe is CVE-2024-32463?
High severity. CVSS v3 base score is 7.1 out of 10.