CVE-2016-10707 — Denial of Service in jQuery — CVE Details
Denial of Service in jquery
What Should I Do?
Address in Next Maintenance Window
Low exploitation probability (3.23%). Schedule for your next planned update.
Does your project use an affected jQuery version?
Paste your packages.lock.json to check it for CVE-2016-10707 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 use a lowercasing logic on attribute names. When given a boolean attribute with a name that contains uppercase characters, jquery enters into an infinite recursion loop, exceeding the call stack limit, and resulting in a denial of service condition.
Recommendation
Update to version 3.0.0 or later.
Advisory Timeline
- First published January 22, 2018 (3230 days ago).
- Last revised September 2, 2025 — 2780 days after initial publication.
Remediation
Upgrade to the fixed version using your package manager.
dotnet add package jQuery --version 3.0.0
gem install jquery-rails -v 3.0.0
<!-- Update pom.xml dependency version to 3.0.0 for org.webjars.npm:jquery -->
npm install jquery@3.0.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 NuGet · Affected: 3.0.0-rc.1 | 3.0.0 |
| jquery-rails RubyGems · Affected: 3.0.0-rc.1 | 3.0.0 |
| org.webjars.npm:jquery Maven · Affected: 3.0.0-rc1 | 3.0.0 |
| jquery npm · Affected: 3.0.0-rc.1 | 3.0.0 |
Vulnerability Classification
Common Weakness Enumeration (CWE) identifiers for this vulnerability type.
- CWE-400Uncontrolled Resource ConsumptionMITRE
- CWE-674
CVSS Score Breakdown
What the CVSS (Common Vulnerability Scoring System) 7.5 score means for each attack dimension.
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
References
- https://nvd.nist.gov/vuln/detail/CVE-2016-10707ADVISORY
- https://github.com/jquery/jquery/issues/3133WEB
- https://github.com/jquery/jquery/issues/3133#issuecomment-358978489WEB
- https://github.com/jquery/jquery/pull/3134WEB
- https://github.com/advisories/GHSA-mhpp-875w-9cpvADVISORY
- https://github.com/jquery/jqueryPACKAGE
- https://github.com/rubysec/ruby-advisory-db/blob/master/gems/jquery-rails/CVE-2016-10707.ymlWEB
- https://snyk.io/vuln/npm:jquery:20160529WEB
- https://www.npmjs.com/advisories/330WEB
Frequently Asked Questions
- What is CVE-2016-10707?
- Denial of Service in jquery. This vulnerability has been assigned a severity rating of HIGH (CVSS score: 7.5/10).
- How do I check if my project is affected by CVE-2016-10707?
- CVE-2016-10707 affects jQuery, jquery-rails and org.webjars.npm:jquery (and 1 more). It has a 3.2% probability of exploitation within 30 days (EPSS score). Use GeekWala's free vulnerability scanner to check your dependencies against CVE-2016-10707 and 200,000+ other known vulnerabilities.
Severity & Exploitability
Significant impact if exploited, or exploitable with modest effort.
This places it in the top quartile of EPSS-scored vulnerabilities — 89% of tracked vulnerabilities score at or below it, so it is more likely to be exploited than most of the tracked corpus.
Also Known As
Related CVEs
- 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-2016-7103MEDIUM
jQuery-UI vulnerable to Cross-site Scripting in dialog closeText
- CVE-2021-41183MEDIUM
XSS in `*Text` options of the Datepicker widget in jquery-ui
- CVE-2020-11023MEDIUM
Potential XSS vulnerability in jQuery