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

No history.

cve-icon MITRE

Status: PUBLISHED

Assigner: GitHub_M

Published: 2024-03-11T22:50:38.789Z

Updated: 2024-08-02T00:48:49.443Z

Reserved: 2024-03-06T17:35:00.860Z

Link: CVE-2024-28199

cve-icon Vulnrichment

Updated: 2024-05-23T19:01:16.974Z

cve-icon NVD

Status : Awaiting Analysis

Published: 2024-03-11T23:15:47.333

Modified: 2024-03-12T12:40:13.500

Link: CVE-2024-28199

cve-icon Redhat

No data.