Cross-Site Scripting (XSS) Vulnerability in Phlex Affects Ruby Developers
CVE-2024-32463
7.1HIGH
What is CVE-2024-32463?
The Phlex framework, designed for crafting object-oriented views in Ruby, contains a vulnerability that allows for potential cross-site scripting (XSS) through improperly filtered user data. Specifically, attackers can circumvent protections against the javascript:
URL scheme in <a>
tags by introducing tab
or newline
characters within the protocol, leading to potential exploitation. To mitigate this risk, it is recommended for developers to implement a Content Security Policy (CSP) that prohibits the use of unsafe-inline
, thereby enhancing defense against malicious injections.
Affected Version(s)
phlex >= 1.10.0, < 1.10.1 < 1.10.0, 1.10.1
phlex >= 1.9.0, < 1.9.2 < 1.9.0, 1.9.2
phlex >= 1.8.0, < 1.8.3 < 1.8.0, 1.8.3