Vulnerability DatabaseGHSA-fxxw-9rf3-3f2w

GHSA-fxxw-9rf3-3f2w: 
Ruby vulnerability analysis and mitigation

Impact

Phlex removes javascript: URLs from attributes that hold a URL, such as href and src, so that a user-provided link can be passed to them safely. The data attribute of the object element also holds a URL, but it wasn't checked, because Phlex also uses data: for nested data-* attributes. An application that passes a user-controlled URL to object(data:), for example to embed a user-provided document or media file, was vulnerable. In Firefox, the script runs in the page's origin as soon as the page loads, with no interaction. Chromium-based browsers and Safari don't run script from this attribute, so their users weren't affected. Passing user-provided URLs to iframe(src:) and embed(src:) is not affected, because src is already checked.

Patches

data is now checked as a URL whenever its value isn't a Hash. A Hash still expands into data-* attributes, as before. The patched versions are:

  • 2.4.2
  • 1.11.2 We have also patched the main branch on GitHub. Phlex 2.0 to 2.3, and 1.x minor versions before 1.11, are no longer maintained and won't get a patch. Please upgrade to 2.4.2 or 1.11.2.

Workarounds

If you can't upgrade straight away:

  • Check URLs before passing them to object(data:): parse them, and allow only the schemes you expect, such as https.
  • A content security policy that disallows inline script (no 'unsafe-inline' in script-src) stops the script from running.

Source: NVD

Related Ruby vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

GHSA-4859-2mvh-r787HIGH7.1
  • Ruby logoRuby
  • phlex
NoYesNov 23, 2026
GHSA-6gjg-cqh9-p2xmMEDIUM5.9
  • Ruby logoRuby
  • phlex
NoYesNov 23, 2026
GHSA-jjpx-qcfc-pqwpMEDIUM5.9
  • Ruby logoRuby
  • phlex
NoYesNov 23, 2026
GHSA-fxxw-9rf3-3f2wMEDIUM5.9
  • Ruby logoRuby
  • phlex
NoYesNov 23, 2026
GHSA-wcp8-qw9q-vjppMEDIUM4.9
  • Ruby logoRuby
  • doorkeeper-openid_connect
NoYesNov 23, 2026

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Additional Wiz resources

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management