Cross-site Scripting (XSS) possible with maliciously formed HTML attribute names and values in Phlex
Default status is the baseline for the product, each version can override it (e.g. patched versions marked unaffected).
| Vendor | Product | Default status | Versions | |||||||||||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| phlex-ruby | phlex | affected |
|
Configuration 1 [-]
|
No data.
No data available yet.
| Source | ID | Title |
|---|---|---|
EUVD |
EUVD-2024-0782 | 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`. |
Github GHSA |
GHSA-242p-4v39-2v8g | Cross-site Scripting (XSS) possible with maliciously formed HTML attribute names and values in Phlex |
No CVSS v4.0
No CVSS v3.0
No CVSS v2
This CVE is not in the KEV list.
Exploit prediction score: < 1% (0.604% probability within 30 days)
| Type | Values Removed | Values Added |
|---|---|---|
| First Time appeared |
Phlex
Phlex phlex |
|
| CPEs | cpe:2.3:a:phlex:phlex:*:*:*:*:*:ruby:*:* cpe:2.3:a:phlex:phlex:1.1.0:*:*:*:*:ruby:*:* cpe:2.3:a:phlex:phlex:1.4.0:*:*:*:*:ruby:*:* cpe:2.3:a:phlex:phlex:1.7.0:*:*:*:*:ruby:*:* cpe:2.3:a:phlex:phlex:1.9.0:*:*:*:*:ruby:*:* |
|
| Vendors & Products |
Phlex
Phlex phlex |
Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')