Free and open · new CVEs checked every 20 minutesStatusRSSOpen dataContact

CVE-2024-28199: phlex is an open source framework for building object-oriented views in Ruby

37
Routine
HIGH 7.1UPGRADE

CVE-2024-28199 is a high-severity flaw (CVSS 7.1) affecting phlex. Below: why it ranks where it does, which versions are affected, what to do, and the exact commands.

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.

Why this priority

  • High severity

A fixed release or distro patch exists.

Risk facts

CVSS score7.1 (High)
Attack vectorNetwork (remote)
Attack complexityLow
Privileges neededNone
User interactionRequired
EPSS exploit chance0.6% (top 51%)
CISA exploited listNo
WeaknessCWE-79
Published2024-03-11
Last modified2026-06-17
Publisher (CNA): GitHub, Inc. · Vendor: phlex

Share: LinkedIn · X · Reddit

Last updated 2026-06-17 · Sources: CVE Program, NVD, CISA KEV, EPSS and vendor advisories · How we score

Am I affected?

Timeline

phlex phlex UPGRADE
Affected: < 1.0.1 · >= 1.2.0 and < 1.2.2 · >= 1.3.0 and < 1.3.3 · 1.1.0 · 1.4.0 · 1.7.0 · 1.9.0
Fixed in: 1.0.1, 1.2.2, 1.3.3
Safe to downgrade to: a release before 1.1.0
1. Check installed version
apt-cache policy phlex || rpm -q phlex || phlex --version
2. UPGRADE to 1.0.1 (Debian / Ubuntu)
sudo apt update && sudo apt install --only-upgrade phlex
2. UPGRADE (RHEL / Amazon Linux / Fedora)
sudo dnf upgrade phlex
Note
Distros often backport fixes without changing the version number. Confirm with the distro advisory or changelog.
3. If no update is available yet, DOWNGRADE to a release before 1.1.0 (Debian / Ubuntu)
apt-cache madison phlex sudo apt install phlex=<VERSION_BEFORE_1.1.0> sudo apt-mark hold phlex
3. If no update is available yet, DOWNGRADE (RHEL / Amazon Linux / Fedora)
dnf --showduplicates list phlex sudo dnf downgrade phlex-<VERSION_BEFORE_1.1.0> sudo dnf versionlock add phlex
Downgrade risk
Downgrading can break dependent software and may reopen older bugs. Read the distro advisory first and test on a non-production host.
After downgrade
Restart the service, and keep the package held until a fixed release ships.
Verify at the official source NVD · CVE Program · Report a problem with this page
Scores and fixes here are computed automatically from those and other public sources. Confirm with the vendor advisory before changing production systems.

Quick answers

How do I fix CVE-2024-28199?

phlex: upgrade to 1.0.1, 1.2.2, 1.3.3. Exact commands for each OS are on this page.

Is CVE-2024-28199 being exploited?

CVE-2024-28199 is not on the CISA Known Exploited Vulnerabilities list at the time of the last update. Check again, as this can change.

What does CVE-2024-28199 affect?

CVE-2024-28199 affects phlex. Severity is high (CVSS 7.1). 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 i

How urgent is CVE-2024-28199?

Priority 37/100. High severity

Software pages

Ruby vulnerabilities

References

← Back to latest CVEs

Get the weekly exploited-CVE digest by emailThe CVEs being attacked this week and how to fix them. No spam, unsubscribe any time.