Cross-site Request Forgery (CSRF) Affecting ruby193-rubygem-jquery-rails package, versions *


Severity

Recommended
0.0
medium
0
10

Based on Red Hat Enterprise Linux security rating.

Threat Intelligence

EPSS
0.31% (54th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications

Snyk Learn

Learn about Cross-site Request Forgery (CSRF) vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-RHEL10-RUBY193RUBYGEMJQUERYRAILS-9886382
  • published28 Apr 2025
  • disclosed16 Jun 2015

Introduced: 16 Jun 2015

CVE-2015-1840  (opens in a new tab)
CWE-352  (opens in a new tab)

How to fix?

There is no fixed version for RHEL:10 ruby193-rubygem-jquery-rails.

NVD Description

Note: Versions mentioned in the description apply only to the upstream ruby193-rubygem-jquery-rails package and not the ruby193-rubygem-jquery-rails package as distributed by RHEL. See How to fix? for RHEL:10 relevant fixed versions and status.

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.

CVSS Base Scores

version 3.1