Skip to main content
Network Thinking Solutions Logo

CVE-2024-28199

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.

All CVEs
CVE-2024-28199Published 3/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.

Vendor advisory
CVSS7.1High

Overview

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`.

Published
3/11/2024
Last modified
6/17/2026
CVE assigner
Not available
NVD analysis
Not available

Exploitation

No CISA KEV flag in the saved record

An absent KEV flag does not establish that exploitation has never occurred. Verify current intelligence before prioritizing work.

EPSS predictions and CISA SSVC assessments are not imported here. Review additional intelligence on Cloudflare

Affected products

Affected-version rules published in the advisory. Conditions and uncertain comparisons require verification.

Vendor / productAffected versionsPlatform / conditionsEvidence
phlex
phlex
< 1.0.1

Verify advisory

The advisory has platform, edition, hardware, or configuration conditions not verified by software inventory.

Source
phlex
phlex
≥ 1.2.0, < 1.2.2

Verify advisory

The advisory has platform, edition, hardware, or configuration conditions not verified by software inventory.

Source
phlex
phlex
≥ 1.3.0, < 1.3.3

Verify advisory

The advisory has platform, edition, hardware, or configuration conditions not verified by software inventory.

Source
phlex
phlex
1.1.0

Verify advisory

The advisory has platform, edition, hardware, or configuration conditions not verified by software inventory.

Source
phlex
phlex
1.4.0

Verify advisory

The advisory has platform, edition, hardware, or configuration conditions not verified by software inventory.

Source
phlex
phlex
1.7.0

Verify advisory

The advisory has platform, edition, hardware, or configuration conditions not verified by software inventory.

Source
phlex
phlex
1.9.0

Verify advisory

The advisory has platform, edition, hardware, or configuration conditions not verified by software inventory.

Source
phlex
phlex-ruby
= 1.9.0

Verify advisory

Verify the advisory platform, edition, update channel, and any version exceptions.

Source
phlex
phlex-ruby
>= 1.8.0, < 1.8.2

Verify advisory

Verify the advisory platform, edition, update channel, and any version exceptions.

Source
phlex
phlex-ruby
= 1.7.0

Verify advisory

Verify the advisory platform, edition, update channel, and any version exceptions.

Source
phlex
phlex-ruby
>= 1.6.0, < 1.6.2

Verify advisory

Verify the advisory platform, edition, update channel, and any version exceptions.

Source
phlex
phlex-ruby
>= 1.5.0, < 1.5.2

Verify advisory

Verify the advisory platform, edition, update channel, and any version exceptions.

Source
phlex
phlex-ruby
= 1.4.0

Verify advisory

Verify the advisory platform, edition, update channel, and any version exceptions.

Source
phlex
phlex-ruby
>= 1.3.0, < 1.3.3

Verify advisory

Verify the advisory platform, edition, update channel, and any version exceptions.

Source
phlex
phlex-ruby
>= 1.2.0, < 1.2.2

Verify advisory

Verify the advisory platform, edition, update channel, and any version exceptions.

Source
phlex
phlex-ruby
= 1.1.0

Verify advisory

Verify the advisory platform, edition, update channel, and any version exceptions.

Source
phlex
phlex-ruby
< 1.0.1

Verify advisory

Verify the advisory platform, edition, update channel, and any version exceptions.

Source

Recommended actions

Verify the product, installed version, platform, and advisory prerequisites on each system. Apply the vendor's applicable fixed release or mitigation. An affected-range boundary alone is not a universal update recommendation.

Severity

CVSS describes technical impact. It is separate from exploitation evidence.

Published headline score: 7.1. Score version, vector, and attribution are not available in this record. Additional score details appear when the source record is next refreshed.

Sources & references

Sources: Official CVE List, NVD and cve.now (summaries CC BY 4.0). Uses NVD data; not endorsed by NVD.