CVEBrief

Home / phlex-ruby / phlex / CVE-2024-28199

CVE-2024-28199: is it exploited, and which versions of phlex-ruby phlex are affected and fixed?

CVE-2024-28199 is a cross-site scripting (XSS) vulnerability in phlex-ruby phlex. It is not known to be exploited: it is not in CISA's Known Exploited Vulnerabilities catalog (catalog 2026.11.30, read December 3, 2026, 12:38 UTC). Affected: phlex from 1.9.0 before 1.9.1, phlex from 1.8.0 before 1.8.2, phlex from 1.7.0 before 1.7.1 and 7 more (GitHub advisory GHSA-242p-4v39-2v8g). Fixed in 1.9.1, 1.8.2, 1.7.1, 1.6.2 and 2 more (GitHub advisory GHSA-242p-4v39-2v8g). Severity: High (7.1, CVSS 3.1, from GitHub_M).

Data checked December 3, 2026: last read CISA KEV December 3, 2026, 12:38 UTC, CVE record November 19, 2026, 07:11 UTC and NVD November 19, 2026, 07:31 UTC.

Exploited in the wild
Not in CISA KEV
KEV read December 3, 2026, 12:38 UTC
Affected
phlex from 1.9.0 before 1.9.1, phlex from 1.8.0 before 1.8.2, phlex from 1.7.0 before 1.7.1 and 7 more
GitHub advisory GHSA-242p-4v39-2v8g
Fixed in
1.9.1, 1.8.2, 1.7.1, 1.6.2 and 2 more
GitHub advisory GHSA-242p-4v39-2v8g
Severity
High 7.1
CVSS 3.1 from GitHub_M
Exploit odds (EPSS)
0.60% in 30 days
higher than 50% of CVEs; FIRST, December 2, 2026

What is CVE-2024-28199?

Cross-site Scripting (XSS) possible with maliciously formed HTML attribute names and values in Phlex

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

From the CVE record by GitHub_M, last updated August 2, 2024, 00:48 UTC.

Which versions are affected, and which fix it?

VendorProductAffectedFixed or not affected from
phlex-rubyphlex= 1.9.0
>= 1.8.0, < 1.8.2
= 1.7.0
>= 1.6.0, < 1.6.2
>= 1.5.0, < 1.5.2
= 1.4.0
>= 1.3.0, < 1.3.3
>= 1.2.0, < 1.2.2
= 1.1.0
< 1.0.1

As the CVE record by GitHub_M states it, last updated August 2, 2024. Version ranges are the CNA's; a version the record calls not affected is usually the fix.

Which packages are affected, and in which version is each fixed?

EcosystemPackageAffectedFixed inAdvisory
RubyGemsphlex>= 1.9.0, < 1.9.11.9.1GHSA-242p-4v39-2v8g
RubyGemsphlex>= 1.8.0, < 1.8.21.8.2GHSA-242p-4v39-2v8g
RubyGemsphlex>= 1.7.0, < 1.7.11.7.1GHSA-242p-4v39-2v8g
RubyGemsphlex>= 1.6.0, < 1.6.21.6.2GHSA-242p-4v39-2v8g
RubyGemsphlex>= 1.5.0, < 1.5.21.5.2GHSA-242p-4v39-2v8g
RubyGemsphlex>= 1.4.0, < 1.4.11.4.1GHSA-242p-4v39-2v8g
RubyGemsphlex>= 1.3.0, < 1.3.31.3.3GHSA-242p-4v39-2v8g
RubyGemsphlex>= 1.2.0, < 1.2.21.2.2GHSA-242p-4v39-2v8g
RubyGemsphlex>= 1.1.0, < 1.1.11.1.1GHSA-242p-4v39-2v8g
RubyGemsphlex< 1.0.11.0.1GHSA-242p-4v39-2v8g

GitHub Advisory Database, reviewed advisories (CC BY 4.0); advisory updated March 14, 2024. Summary: Cross-site Scripting (XSS) possible with maliciously formed HTML attribute names and values in Phlex.

Which products and versions does the NVD list as affected?

VendorProductVersionsType
phlexphlexbefore 1.0.1application
phlexphlexfrom 1.2.0 before 1.2.2application
phlexphlexfrom 1.3.0 before 1.3.3application
phlexphlex1.1.0application
phlexphlex1.4.0application
phlexphlex1.7.0application
phlexphlex1.9.0application

NVD analysis (status Analyzed), last modified June 17, 2026, 07:21 UTC.

How severe is CVE-2024-28199?

ScoreVersionVectorSource
High 7.1CVSS 3.1CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:L/A:NGitHub_M
Medium 6.1CVSS 3.1CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:NNVD

Each score is shown as its source gave it: the CNA that wrote the record, CISA's ADP (vulnrichment) and the NVD. They can differ.

What the ratings mean: in CVSS 3 and 4, scores run from 0 to 10, with Low 0.1 to 3.9, Medium 4.0 to 6.9, High 7.0 to 8.9 and Critical 9.0 to 10.0. CVSS 2 has no Critical band: its High runs from 7.0 to 10.0. The vector lists how the flaw is reached (network, local), what an attacker needs (privileges, a user's click) and what it can harm.

Is CVE-2024-28199 exploited in the wild?

CISA KEV
Not listed (catalog 2026.11.30)
CISA SSVC
Exploitation: none; automatable: no; technical impact: partial (CISA ADP, March 12, 2024)
EPSS
0.60% probability of exploitation activity in the next 30 days, percentile 50.3 (FIRST EPSS, scores of December 2, 2026)

What kind of flaw is it?

Where are the vendor advisories and references?

When was it published, and where is the official record?

Reserved
March 6, 2024
Published
March 11, 2024, 22:50 UTC
CVE record updated
August 2, 2024, 00:48 UTC by GitHub_M
NVD
Analyzed, last modified June 17, 2026, 07:21 UTC
Last checked
CVE list November 19, 2026, 07:11 UTC; NVD November 19, 2026, 07:31 UTC; KEV December 3, 2026, 12:38 UTC; EPSS December 2, 2026
Official record
cve.org · NVD

What other CVEs affect phlex?

Every CVE in phlex

Questions about CVE-2024-28199

Is CVE-2024-28199 exploited in the wild?

Not as far as CISA knows: it is not in the Known Exploited Vulnerabilities catalog, read December 3, 2026, 12:38 UTC. FIRST's EPSS gives it a 0.60% chance of exploitation activity in the next 30 days (scores of December 2, 2026).

Which versions of phlex-ruby phlex are affected by CVE-2024-28199?

phlex from 1.9.0 before 1.9.1, phlex from 1.8.0 before 1.8.2, phlex from 1.7.0 before 1.7.1, phlex from 1.6.0 before 1.6.2, phlex from 1.5.0 before 1.5.2, phlex from 1.4.0 before 1.4.1 and 4 more, per the GitHub advisory GHSA-242p-4v39-2v8g. The tables above give every range the sources list.

Which version fixes CVE-2024-28199?

1.9.1, 1.8.2, 1.7.1, 1.6.2, 1.5.2 and 1.4.1, per the GitHub advisory GHSA-242p-4v39-2v8g. Check the vendor's advisory before you rely on it.

How severe is CVE-2024-28199?

High (7.1, CVSS 3.1, from GitHub_M). The severity table above shows each score with its source.

Where is the official record of CVE-2024-28199?

The CVE Program's record is at cve.org and the NVD's at nvd.nist.gov. For a fix, the vendor's own advisory is the one to follow.