Cross-Site Scripting (XSS) Vulnerability in Phlex Affects Ruby Developers
CVE-2024-32463

7.1HIGH

Key Information:

Vendor

Phlex-ruby

Status
Vendor
CVE Published:
17 April 2024

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

References

CVSS V3.1

Score:
7.1
Severity:
HIGH
Confidentiality:
High
Integrity:
Low
Availability:
High
Attack Vector:
Network
Attack Complexity:
Low
Privileges Required:
None
User Interaction:
Required
Scope:
Unchanged

Timeline

  • Vulnerability published

  • Vulnerability Reserved

.