Mend.io Vulnerability Database
The largest open source vulnerability database
What is a Vulnerability ID?
New vulnerability? Tell us about it!
CVE-2024-28199
March 11, 2024
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. This was due to improper case-sensitivity in the code that was meant to prevent these attacks. 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. If you splat user-provided attributes when rendering any HTML tag, malicious event attributes could be included in the output, executing JavaScript when the events are triggered by another user. Patches are available on RubyGems for all 1.x minor versions. Users are advised to upgrade. Users unable to upgrade should consider configuring a content security policy that does not allow "unsafe-inline".
Affected Packages
phlex (RUBY):
Affected version(s) >=1.5.0 <1.5.2
Fix Suggestion:
Update to version 1.5.2
phlex (RUBY):
Affected version(s) >=1.2.0 <1.2.2
Fix Suggestion:
Update to version 1.2.2
phlex (RUBY):
Affected version(s) >=0.1.0 <1.0.1
Fix Suggestion:
Update to version 1.0.1
phlex (RUBY):
Affected version(s) =1.9.0 <1.9.1
Fix Suggestion:
Update to version 1.9.1
phlex (RUBY):
Affected version(s) =1.1.0 <1.1.1
Fix Suggestion:
Update to version 1.1.1
phlex (RUBY):
Affected version(s) >=1.8.0 <1.8.2
Fix Suggestion:
Update to version 1.8.2
phlex (RUBY):
Affected version(s) >=1.6.0 <1.6.2
Fix Suggestion:
Update to version 1.6.2
phlex (RUBY):
Affected version(s) =1.4.0 <1.4.1
Fix Suggestion:
Update to version 1.4.1
phlex (RUBY):
Affected version(s) >=1.3.0 <1.3.3
Fix Suggestion:
Update to version 1.3.3
phlex (RUBY):
Affected version(s) =1.7.0 <1.7.1
Fix Suggestion:
Update to version 1.7.1
Do you need more information?
Contact Us
CVSS v4
Base Score:
7.1
Attack Vector
NETWORK
Attack Complexity
LOW
Attack Requirements
NONE
Privileges Required
NONE
User Interaction
PASSIVE
Vulnerable System Confidentiality
HIGH
Vulnerable System Integrity
LOW
Vulnerable System Availability
NONE
Subsequent System Confidentiality
NONE
Subsequent System Integrity
NONE
Subsequent System Availability
NONE
CVSS v3
Base Score:
7.1
Attack Vector
NETWORK
Attack Complexity
LOW
Privileges Required
NONE
User Interaction
REQUIRED
Scope
UNCHANGED
Confidentiality
HIGH
Integrity
LOW
Availability
NONE
Weakness Type (CWE)
Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')
EPSS
Base Score:
1.18