Staging Environment: Content and features may be unstable or change without notice.
Search for packages
Package details: pkg:gem/phlex@1.1
purl pkg:gem/phlex@1.1
Tags Ghost
Next non-vulnerable version 1.11.1
Latest non-vulnerable version 2.4.1
Risk 4.0
Vulnerabilities affecting this package (1)
Vulnerability Summary Fixed by
VCID-ktd3-z3en-ukc7
Aliases:
CVE-2024-28199
GHSA-242p-4v39-2v8g
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`.
1.1.1
Affected by 4 other vulnerabilities.
1.2.2
Affected by 4 other vulnerabilities.
1.3.3
Affected by 4 other vulnerabilities.
1.4.1
Affected by 4 other vulnerabilities.
1.5.2
Affected by 4 other vulnerabilities.
1.6.2
Affected by 4 other vulnerabilities.
1.7.1
Affected by 4 other vulnerabilities.
1.8.2
Affected by 4 other vulnerabilities.
1.9.1
Affected by 4 other vulnerabilities.
Vulnerabilities fixed by this package (0)
Vulnerability Summary Aliases
This package is not known to fix vulnerabilities.

Date Actor Action Vulnerability Source VulnerableCode Version
2026-06-12T03:51:59.999325+00:00 Ruby Importer Affected by VCID-ktd3-z3en-ukc7 https://github.com/rubysec/ruby-advisory-db/blob/master/gems/phlex/CVE-2024-28199.yml 38.6.0