Cross-site Scripting (XSS) Affecting jquery-ui-rails package, versions <4.0.0


Severity

Recommended
0.0
medium
0
10

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

Threat Intelligence

EPSS
2.01% (89th 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-JQUERYUIRAILS-449593
  • published13 Feb 2017
  • disclosed2 Sept 2010
  • creditshadowman131

Introduced: 2 Sep 2010

CVE-2010-5312  (opens in a new tab)
CWE-79  (opens in a new tab)

How to fix?

Upgrade jquery-ui-rails to version 4.0.0 or higher.

Overview

jquery-ui-rails is a jQuery UI package for the Rails asset pipeline.

Affected versions of this package are vulnerable to Cross-site Scripting (XSS) due to improper escaping of the title option in jquery.ui.dialog.js, before it being set in the DOM. This results in an XSS vulnerability for applications with dynamic titles.

Details

CVSS Scores

version 3.1