VYPR
Moderate severityNVD Advisory· Published Jul 26, 2015· Updated Jun 17, 2026

CVE-2015-1840

CVE-2015-1840

Description

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.

AI Insight

LLM-synthesized narrative grounded in this CVE's description and references.

Affected packages

Versions sourced from the GitHub Security Advisory.

PackageAffected versionsPatched versions
jquery-railsRubyGems
< 3.1.33.1.3
jquery-railsRubyGems
>= 4.0.0, < 4.0.44.0.4
jquery-ujsRubyGems
< 1.0.41.0.4

Affected products

12

Patches

Vulnerability mechanics

References

14

News mentions

0

No linked articles in our index yet.