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

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.

Basic information

Type
reviewed
Severity
medium
Advisory on GitHub
Open advisory ↗
Repository advisory
Source code
Browse source ↗
Published (advisory)
2017-10-24 18:33:36 UTC
Updated
2026-01-14 21:44:17 UTC
GitHub reviewed
2020-06-16 20:59:28 UTC
NVD published
2015-07-26

EPSS Score

Score Percentile
0.24% 46.56%

CVSS Scores

No CVSS scores in this advisory.

Identifiers

CWEs

CWE id Name
CWE-200 Exposure of Sensitive Information to an Unauthorized Actor

Affected packages (3)

Vulnerable version ranges and first patched releases as published by GitHub.

Ecosystem Package Vulnerable range First patched Vulnerable functions
rubygems jquery-rails < 3.1.3 3.1.3
rubygems jquery-rails >= 4.0.0, < 4.0.4 4.0.4
rubygems jquery-ujs < 1.0.4 1.0.4

References

cvelogic Threat Intelligence