SCA: security update for jquery-rails, jquery-ujs (GHSA-4whc-pp4x-9pf3)

medium Tenable Cloud Security Plugin ID 422264

Description

There are packages installed that are affected by a vulnerability referenced in the following CVE:

- 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. (CVE-2015-1840)

See Also

https://github.com/advisories/GHSA-4whc-pp4x-9pf3

Plugin Details

Severity: Medium

ID: 422264

Version: Revision 1.4

Type: Local

Family: SCA Checks

Published: 3/28/2025

Updated: 7/2/2026

Supported Sensors: Tenable Cloud Security, Tenable Self-Hosted Container Security

Risk Information

VPR

Risk Factor: Low

Score: 2.1

Percentile: 6.91

Vendor

Vendor Severity: Medium

CVSS v2

Risk Factor: Medium

Base Score: 5

Temporal Score: 3.9

Vector: CVSS2#AV:N/AC:L/Au:N/C:P/I:N/A:N

CVSS Score Source: CVE-2015-1840

CVSS v3

Risk Factor: Medium

Base Score: 6.5

Temporal Score: 5.9

Vector: CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N

Temporal Vector: CVSS:3.0/E:P/RL:O/RC:C

Vulnerability Information

Exploit Available: true

Exploit Ease: Exploits are available

Patch Publication Date: 10/24/2017

Vulnerability Publication Date: 6/16/2015

Reference Information

CVE: CVE-2015-1840

BID: 75239

cwe: CWE-200