Security mailing lists by PureSourceCode

CVE-2024-28199

MEDIUM 6.1CVSS 3.1

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
11 Mar 2024
Last modified
10 Sep 2026
Assigned by
security-advisories@github.com
NVD status
Analyzed
Weakness
CWE-79
Also known as
GHSA-242p-4v39-2v8g
Sources
NVDJSONOSV GHSA-242p-4v39-2v8gJSON

Scores

SourceScored byVersionScoreVector / decision
NVD security-advisories@github.com (Secondary) CVSS 3.1 HIGH 7.1 CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:L/A:N
OSV GitHub CVSS 3.1 HIGH 7.1 CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:L/A:N
NVD nvd@nist.gov (Primary) CVSS 3.1 MEDIUM 6.1 CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N

Affected

SourceVendor / ecosystemProduct / packageAffected versionsFixed in
NVD phlex phlex
cpe:2.3:a:phlex:phlex:*:*:*:*:*:ruby:*:*
< 1.0.1 1.0.1
NVD phlex phlex
cpe:2.3:a:phlex:phlex:*:*:*:*:*:ruby:*:*
>= 1.2.0, < 1.2.2 1.2.2
NVD phlex phlex
cpe:2.3:a:phlex:phlex:*:*:*:*:*:ruby:*:*
>= 1.3.0, < 1.3.3 1.3.3
NVD phlex phlex
cpe:2.3:a:phlex:phlex:1.1.0:*:*:*:*:ruby:*:*
= 1.1.0
NVD phlex phlex
cpe:2.3:a:phlex:phlex:1.4.0:*:*:*:*:ruby:*:*
= 1.4.0
NVD phlex phlex
cpe:2.3:a:phlex:phlex:1.7.0:*:*:*:*:ruby:*:*
= 1.7.0
NVD phlex phlex
cpe:2.3:a:phlex:phlex:1.9.0:*:*:*:*:ruby:*:*
= 1.9.0
OSV RubyGems phlex >= 1.9.0, < 1.9.1 1.9.1
OSV RubyGems phlex >= 1.8.0, < 1.8.2 1.8.2
OSV RubyGems phlex >= 1.7.0, < 1.7.1 1.7.1
OSV RubyGems phlex >= 1.6.0, < 1.6.2 1.6.2
OSV RubyGems phlex >= 1.5.0, < 1.5.2 1.5.2
OSV RubyGems phlex >= 1.4.0, < 1.4.1 1.4.1
OSV RubyGems phlex >= 1.3.0, < 1.3.3 1.3.3
OSV RubyGems phlex >= 1.2.0, < 1.2.2 1.2.2
OSV RubyGems phlex >= 1.1.0, < 1.1.1 1.1.1
OSV RubyGems phlex < 1.0.1 1.0.1

References

History

  • 25 Nov 2026 20:55 UTC · NVD: first stored (published 11 Mar 2024)
  • 25 Nov 2026 20:14 UTC · OSV: first stored (published 12 Mar 2024)
An unhandled error has occurred. Reload ×

Rejoining the server...

Rejoin failed... trying again in seconds.

Failed to rejoin.
Please retry or reload the page.

The session has been paused by the server.

Failed to resume the session.
Please retry or reload the page.