CVE-2016-7103 — Vulnerability in jquery-ui — CVE Details
jQuery-UI vulnerable to Cross-site Scripting in dialog closeText
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.
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 install jquery-ui@1.12.0
gem install jquery-ui-rails -v 6.0.0
<!-- Update pom.xml dependency version to 1.12.0 for org.webjars.npm:jquery-ui -->
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).
| Package | Fixed In |
|---|---|
| jquery-ui npm · Affected: All versions | 1.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.2 | 1.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-79Cross-site Scripting (XSS)MITRE
CVSS Score Breakdown
What the CVSS (Common Vulnerability Scoring System) 6.1 score means for each attack dimension.
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
References
- https://nvd.nist.gov/vuln/detail/CVE-2016-7103ADVISORY
- https://github.com/jquery/api.jqueryui.com/issues/281WEB
- https://github.com/jquery/jquery-ui/pull/1622WEB
- https://github.com/jquery-ui-rails/jquery-ui-rails/commit/d504a40538fe5f7998439ad2f8fc5c4a1f843f1cWEB
- https://github.com/jquery/jquery-ui/commit/9644e7bae9116edaf8d37c5b38cb32b892f10ff6WEB
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/HVKIOWSXL2RF2ULNAP7PHESYCFSZIJE3WEB
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/SGSY236PYSFYIEBRGDERLA7OSY6D7XL4WEB
- https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/E2I4UHPIW26FIALH7GGZ3IYUUA53VOOJWEB
- https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/HVKIOWSXL2RF2ULNAP7PHESYCFSZIJE3WEB
- https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/SGSY236PYSFYIEBRGDERLA7OSY6D7XL4WEB
- https://security.netapp.com/advisory/ntap-20190416-0007WEB
- https://web.archive.org/web/20200227030100/http://www.securityfocus.com/bid/104823WEB
- https://www.drupal.org/sa-core-2022-002WEB
- https://www.oracle.com//security-alerts/cpujul2021.htmlWEB
- https://www.oracle.com/security-alerts/cpuApr2021.htmlWEB
- https://www.oracle.com/security-alerts/cpuapr2020.htmlWEB
- https://www.oracle.com/security-alerts/cpujan2022.htmlWEB
- https://www.oracle.com/technetwork/security-advisory/cpuapr2019-5072813.htmlWEB
- https://www.oracle.com/technetwork/security-advisory/cpujul2019-5072835.htmlWEB
- https://www.oracle.com/technetwork/security-advisory/cpuoct2019-5072832.htmlWEB
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/E2I4UHPIW26FIALH7GGZ3IYUUA53VOOJWEB
- https://lists.debian.org/debian-lts-announce/2022/01/msg00014.htmlWEB
- https://lists.apache.org/thread.html/ff8dcfe29377088ab655fda9d585dccd5b1f07fabd94ae84fd60a7f8@%3Ccommits.pulsar.apache.org%3EWEB
- https://lists.apache.org/thread.html/ff8dcfe29377088ab655fda9d585dccd5b1f07fabd94ae84fd60a7f8%40%3Ccommits.pulsar.apache.org%3EWEB
- https://lists.apache.org/thread.html/f9bc3e55f4e28d1dcd1a69aae6d53e609a758e34d2869b4d798e13cc@%3Cissues.drill.apache.org%3EWEB
- https://lists.apache.org/thread.html/f9bc3e55f4e28d1dcd1a69aae6d53e609a758e34d2869b4d798e13cc%40%3Cissues.drill.apache.org%3EWEB
- https://lists.apache.org/thread.html/ba79cf1658741e9f146e4c59b50aee56656ea95d841d358d006c18b6@%3Ccommits.roller.apache.org%3EWEB
- https://lists.apache.org/thread.html/ba79cf1658741e9f146e4c59b50aee56656ea95d841d358d006c18b6%40%3Ccommits.roller.apache.org%3EWEB
- https://lists.apache.org/thread.html/b0656d359c7d40ec9f39c8cc61bca66802ef9a2a12ee199f5b0c1442@%3Cdev.drill.apache.org%3EWEB
- https://lists.apache.org/thread.html/b0656d359c7d40ec9f39c8cc61bca66802ef9a2a12ee199f5b0c1442%40%3Cdev.drill.apache.org%3EWEB
- https://lists.apache.org/thread.html/519eb0fd45642dcecd9ff74cb3e71c20a4753f7d82e2f07864b5108f@%3Cdev.drill.apache.org%3EWEB
- https://lists.apache.org/thread.html/519eb0fd45642dcecd9ff74cb3e71c20a4753f7d82e2f07864b5108f%40%3Cdev.drill.apache.org%3EWEB
- https://jqueryui.com/changelog/1.12.0WEB
- https://github.com/rubysec/ruby-advisory-db/blob/master/gems/jquery-ui-rails/CVE-2016-7103.ymlWEB
- https://github.com/jquery/jquery-uiPACKAGE
- https://rhn.redhat.com/errata/RHSA-2016-2932.htmlWEB
- https://rhn.redhat.com/errata/RHSA-2016-2933.htmlWEB
- https://rhn.redhat.com/errata/RHSA-2017-0161.htmlWEB
- https://www.oracle.com/technetwork/security-advisory/cpujul2018-4258247.htmlWEB
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
Exploitation requires specific conditions, or the impact is limited.
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
Related CVEs
- CVE-2016-10707HIGH
Denial of Service in jquery
- CVE-2019-11358MEDIUM
XSS in jQuery as used in Drupal, Backdrop CMS, and other products
- CVE-2021-41182MEDIUM
XSS in the `altField` option of the Datepicker widget in jquery-ui
- CVE-2021-41184MEDIUM
XSS in the `of` option of the `.position()` util in jquery-ui
- CVE-2020-11022MEDIUM
Potential XSS vulnerability in jQuery
- CVE-2022-31160MEDIUM
jQuery UI vulnerable to XSS when refreshing a checkboxradio with an HTML-like initial text label
- CVE-2021-41183MEDIUM
XSS in `*Text` options of the Datepicker widget in jquery-ui
- CVE-2020-11023MEDIUM
Potential XSS vulnerability in jQuery