Cross-site Scripting (XSS) Affecting jquery-rails package, versions >=0.2.5, <1.0.15


Severity

Recommended
0.0
medium
0
10

CVSS assessment made by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
0.19% (57th 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 Scripting (XSS) vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-RUBY-JQUERYRAILS-450229
  • published20 Oct 2016
  • disclosed1 Sept 2014
  • creditMauro Risonho de Paula Assumpção

Introduced: 1 Sep 2014

CVE-2014-6071  (opens in a new tab)
CWE-79  (opens in a new tab)

How to fix?

Upgrade jquery-rails to version 1.0.15 or higher.

Overview

jquery-rails is a gem provides jQuery and the jQuery-ujs driver for your Rails 4+ application.

Affected versions of this package are vulnerable to Cross-site Scripting (XSS). due to using the text() function inside the after() function.

Details

CVSS Scores

version 3.1