Skip to main content

CVE-2016-7103 — Vulnerability in jquery-ui — CVE Details

MEDIUM

jQuery-UI vulnerable to Cross-site Scripting in dialog closeText

Published October 24, 2017Updated March 11, 2024Source: OSV

What Should I Do?

Fix Within 2-4 Weeks

Moderate exploitation risk (33.87% probability in 30 days). Schedule remediation soon.

Does your project use an affected jquery-ui version?

Paste your package-lock.json to check it for CVE-2016-7103 and every other known vulnerability, with CISA KEV and EPSS on each finding. Free with no signup for up to 10 packages, or up to 500 per scan with a free account, which also keeps up to 200 packages in saved projects.

Check my package-lock.json

Summary

Affected versions of jquery-ui are vulnerable to a cross-site scripting vulnerability when arbitrary user input is supplied as the value of the closeText parameter in the dialog function.

jQuery-UI is a library for manipulating UI elements via jQuery.

Version 1.11.4 has a cross site scripting (XSS) vulnerability in the closeText parameter of the dialog function. If your application passes user input to this parameter, it may be vulnerable to XSS via this attack vector.

Recommendation

Upgrade to jQuery-UI 1.12.0 or later.

Advisory Timeline

  • First published October 24, 2017 (3320 days ago).
  • Last revised March 11, 2024 — 2329 days after initial publication.

Remediation

Upgrade to the fixed version using your package manager.

npm
Update jquery-ui to 1.12.0 or later
npm install jquery-ui@1.12.0
Bundler
Update jquery-ui-rails to 6.0.0 or later
gem install jquery-ui-rails -v 6.0.0
Maven
Update org.webjars.npm:jquery-ui to 1.12.0 or later
<!-- Update pom.xml dependency version to 1.12.0 for org.webjars.npm:jquery-ui -->
NuGet
Update jQuery.UI.Combined to 1.12.0 or later
dotnet add package jQuery.UI.Combined --version 1.12.0

After upgrading, scan your dependencies again to confirm the vulnerability is resolved.

Affected Packages (4)

Affects 4 ecosystems: Maven (1), npm (1), NuGet (1), RubyGems (1).

PackageFixed In
jquery-ui npm · Affected: All versions1.12.0
jquery-ui-rails RubyGems · Affected: 0.0.1, 0.0.2, 0.1.0, 0.2.0 (+31 more)6.0.0
org.webjars.npm:jquery-ui Maven · Affected: 1.10.4, 1.10.5, 1.12.0-rc.21.12.0
jQuery.UI.Combined NuGet · Affected: 1.10.0, 1.10.1, 1.10.2, 1.10.3 (+27 more)1.12.0

Vulnerability Classification

Common Weakness Enumeration (CWE) identifiers for this vulnerability type.

  • CWE-79
    Cross-site Scripting (XSS)MITRE

CVSS Score Breakdown

What the CVSS (Common Vulnerability Scoring System) 6.1 score means for each attack dimension.

Attack Vector
Network
Attack Complexity
Low
Privileges Required
None
User Interaction
Required
Scope
Changed
Confidentiality
Low
Integrity
Low
Availability
None

CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N

References

Frequently Asked Questions

What is CVE-2016-7103?
jQuery-UI vulnerable to Cross-site Scripting in dialog closeText. This vulnerability has been assigned a severity rating of MEDIUM (CVSS score: 6.1/10).
How do I check if my project is affected by CVE-2016-7103?
CVE-2016-7103 affects jquery-ui, jquery-ui-rails and org.webjars.npm:jquery-ui (and 1 more). It has a 33.9% probability of exploitation within 30 days (EPSS score). Use GeekWala's free vulnerability scanner to check your dependencies against CVE-2016-7103 and 200,000+ other known vulnerabilities.

Severity & Exploitability

CVSS Score
6.1

Exploitation requires specific conditions, or the impact is limited.

EPSS Score (30-day exploit probability)
33.87%
EPSS percentile: 98.8

This places it in the top 5% of EPSS-scored vulnerabilities — 98.8% of tracked vulnerabilities score at or below it, so it is far more likely to be exploited than nearly all other tracked vulnerabilities.

Also Known As

GHSA-hpcf-8vf9-q4gj

Related CVEs

Check your own dependencies

Free, with no signup for up to 10 packages.

Check my package-lock.json