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`.
Metrics
Affected Vendors & Products
References
History
Wed, 23 Apr 2025 17:45:00 +0000
Type | Values Removed | Values Added |
---|---|---|
First Time appeared |
Phlex
Phlex phlex |
|
CPEs | cpe:2.3:a:phlex:phlex:*:*:*:*:*:ruby:*:* cpe:2.3:a:phlex:phlex:1.1.0:*:*:*:*:ruby:*:* cpe:2.3:a:phlex:phlex:1.4.0:*:*:*:*:ruby:*:* cpe:2.3:a:phlex:phlex:1.7.0:*:*:*:*:ruby:*:* cpe:2.3:a:phlex:phlex:1.9.0:*:*:*:*:ruby:*:* |
|
Vendors & Products |
Phlex
Phlex phlex |

Status: PUBLISHED
Assigner: GitHub_M
Published: 2024-03-11T22:50:38.789Z
Updated: 2024-08-02T00:48:49.443Z
Reserved: 2024-03-06T17:35:00.860Z
Link: CVE-2024-28199

Updated: 2024-05-23T19:01:16.974Z

Status : Analyzed
Published: 2024-03-11T23:15:47.333
Modified: 2025-04-23T17:29:58.553
Link: CVE-2024-28199

No data.