Advisory

GHSA-4whc-pp4x-9pf3

Also known as: CVE-2015-1840

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.

Severity

Medium Basis: The source's own band: MODERATE

Dates

Published
2017-10-24 18:33 UTC
Modified
2026-02-03 02:56 UTC

Affected packages and fixes

jquery-rails

RubyGems · All systems

Affected

  • introduced 0, fixed 3.1.3 (ecosystem)

Fixed versions

3.1.3

Fix

The export has no generic command for this ecosystem.

jquery-rails

RubyGems · All systems

Affected

  • introduced 4.0.0, fixed 4.0.4 (ecosystem)

Fixed versions

4.0.4

Fix

The export has no generic command for this ecosystem.

jquery-ujs

RubyGems · All systems

Affected

  • introduced 0, fixed 1.0.4 (ecosystem)

Fixed versions

1.0.4

Fix

The export has no generic command for this ecosystem.

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0

Sources & licences