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)

EPSS: 0.006 (44.1th percentile) — read the EPSS interpretation.

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.

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.