GHSA-4whc-pp4x-9pf3

    Dashboard / Vulnerabilities / GHSA-4whc-pp4x-9pf3

    GHSA-4whc-pp4x-9pf3

    Published: 24 Oct 2017Last Modified: 3 Feb 2026
    Aliases:

    Summary: jquery-rails and jquery-ujs subject to Exposure of Sensitive Information

    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

    Package

    Name: jquery-rails

    Purl: pkg:gem/jquery-rails

    Affected ranges

    Type: ECOSYSTEM

    Events:

    Introduced- 0
    Fixed -3.1.3

    Affected versions

    0.1.1
    0.1.2
    0.1.3

    Common Vulnerability Scoring System

    Attack Vector
    Network
    Adjacent
    Local
    Physical
    Privileges Required
    None
    Low
    High
    User Interaction
    None
    Required
    Scope
    Unchanged
    Changed
    Confidentiality
    None
    Low
    High
    Integrity
    None
    Low
    High
    Availability
    None
    Low
    High