CVE-2024-28199
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`.
Published Updated Sources: cvelistV5, GitHub_M
Triage
Is it exploited, how likely is exploitation, what does it touch, and how severe do the scoring sources call it.
Exploitation
Unreported
no source claims exploitation
EPSS
<1%
chance of exploitation in 30 days
CVSS base
7.1
HIGH
CISA SSVC assessment
Three decision points CISA publishes for the CVEs it assesses · SSVC 2.0.3. A stakeholder decision, not a severity score.
Exploitation
None
none · proof-of-concept · active
Automatable
No
can an attacker script all four kill-chain steps
Technical impact
Partial
partial · total control of the vulnerable component
Affected scope
The catalog records vendors and products as separate lists, not pairs, so which product belongs to which vendor is not something this page can say.
Vendors (1)
Products (1)
Every base score collected
Sources score independently and disagree; each row says who scored it and under which version.
| Score | Version | Severity | Expl. | Impact | Source |
|---|---|---|---|---|---|
| 7.1 | CVSS 3.1 | HIGH | n/a | n/a | cvelistV5 |
Weakness & attack patterns
- CWE-79
References
4 on the record
- github.com/phlex-ruby/phlex/security/advisories/GHSA-242p-4v39-2v8g
x_refsource_CONFIRM
- github.com/phlex-ruby/phlex/commit/aa50c604cdee1d0ce7ef068a4c66cbd5d43f96a1
x_refsource_MISC
- developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Content-Security-Policy
x_refsource_MISC
- developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Content-Security-Policy#unsafe-inline
x_refsource_MISC
Related CVEs
Same product first, then the same weakness or threat actor.
- CVE-2019-3929 Crestron Multiple Products Command Injection VulnerabilityCVSS 9.8 · CISA KEV
- CVE-2024-42009 RoundCube Webmail Cross-Site Scripting VulnerabilityCVSS 9.3 · CISA KEV
- CVE-2023-34192 Synacor Zimbra Collaboration Suite (ZCS) Cross-Site Scripting (XSS) VulnerabilityCVSS 9.0 · CISA KEV
- CVE-2019-18426 WhatsApp Cross-Site Scripting VulnerabilityCVSS 8.2 · CISA KEV
- CVE-2024-43573 Microsoft Windows MSHTML Platform Spoofing VulnerabilityCVSS 8.1 · CISA KEV
- CVE-2024-44309 Apple Multiple Products Cross-Site Scripting (XSS) VulnerabilityCVSS 6.3 · CISA KEV
Elsewhere on this site
- Phlex Rubyevery CVE for this vendor
- CWE-79other pages naming this weakness
Not in any source we poll
Listed rather than left blank: an empty field and an unmeasured one look identical on screen, and only one is a reason to look elsewhere.
- No confirmed IOCs, IP addresses, domains, file hashes, or malware artifacts supplied.
- No organization-specific asset inventory, compensating-control status, or patch deployment evidence supplied.
- No exploit packet captures, log samples, or incident case IDs supplied.