Cross-site Scripting (XSS) Affecting jquery-migrate-rails package, versions <1.2.1


Severity

Recommended
0.0
medium
0
10

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

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-JQUERYMIGRATERAILS-449578
  • published26 Dec 2016
  • disclosed18 Apr 2013
  • creditMario Heiderich

Introduced: 18 Apr 2013

CVE NOT AVAILABLE CWE-79  (opens in a new tab)

How to fix?

Upgrade jquery-migrate-rails to version 1.2.1 or higher.

Overview

jquery-migrate-rails is a is a ported gem of jQuery migrate for rails applications.

Affected versions of this package are vulnerable to Cross-site Scripting (XSS). The jquery-migrate package used code from an older jquery library that contained the vulnerable location.hash() function. It was used to select elements, but also allows remote attackers to inject script into the page.

Related to a vulnerability in jQuery and fullpage.js.

Details

CVSS Scores

version 3.1