GHSA-4whc-pp4x-9pf3
GitHub Security Advisory
jquery-rails and jquery-ujs subject to Exposure of Sensitive Information
✓ GitHub Reviewed
MODERATE
Has CVE
Advisory Details
jquery_ujs.js in jquery-rails before 3.1.3 and 4.x before 4.0.4 and rails.js in jquery-ujs before 1.0.4, as used with Ruby on Rails 3.x and 4.x, allow remote attackers to bypass the Same Origin Policy, and trigger transmission of a CSRF token to a different-domain web server, via a leading space character in a URL within an attribute value.
Affected Packages
RubyGems
jquery-rails
Affected versions:
0
(fixed in 3.1.3)
RubyGems
jquery-rails
Affected versions:
4.0.0
(fixed in 4.0.4)
RubyGems
jquery-ujs
Affected versions:
0
(fixed in 1.0.4)
Related CVEs
Key Information
5.0
/10
Dataset
Last updated: September 30, 2025 6:30 AM
Data from GitHub Advisory Database. This information is provided for research and educational purposes.