CVE-2016-7103 · mitre
CVE-2016-7103
Cross-site scripting (XSS) vulnerability in jQuery UI before 1.12.0 might allow remote attackers to inject arbitrary web script or HTML via the closeText parameter of the dialog function.
Published 2017-03-15, last changed 2026-06-17. Weakness: CWE-79.
How to fix
Upgrade to a fixed version: jquery-ui 1.12.0 (npm); jquery-ui-rails 6.0.0 (RubyGems); org.webjars.npm:jquery-ui 1.12.0 (Maven); jQuery.UI.Combined 1.12.0 (NuGet). For the version that clears every advisory for your installed version, ask an agent for get_remediation.
Where the flaw is in the code
Fixed in jquery/jquery-ui by 9644e7bae9, pull request #1622. The fix changed source code, but no function could be located in it. Regression tests: tests/unit/dialog/options.js, tests/unit/dialog/dialog.html, tests/visual/compound/datepicker_dialog.html, tests/unit/tabs/tabs_core.js. Confidence: inferred (code changed near the fix, but no record names this exact commit as the fix).
Timeline
| 2017-03-15 | Published |
| 2017-10-24 | Package advisory GHSA-hpcf-8vf9-q4gj |
| 2026-06-17 | Record last changed |
| 2026-11-30 | EPSS when our history starts: 33.9% |
| 2026-11-30 | Code-level analysis added |
Affected packages
| Advisory | Package | Fixed in |
|---|---|---|
| GHSA-hpcf-8vf9-q4gj | jquery-ui (npm) | 1.12.0 |
| GHSA-hpcf-8vf9-q4gj | jquery-ui-rails (RubyGems) | 6.0.0 |
| GHSA-hpcf-8vf9-q4gj | org.webjars.npm:jquery-ui (Maven) | 1.12.0 |
| GHSA-hpcf-8vf9-q4gj | jQuery.UI.Combined (NuGet) | 1.12.0 |
Also known as: GHSA-hpcf-8vf9-q4gj
Related
| CVE | Published | CVSS | Summary |
|---|---|---|---|
| CVE-2022-31160 | 2022-07-20 | 6.1 | jQuery UI contains potential XSS vulnerability when refreshing a checkboxradio with an HTML-like initial text label |
| CVE-2021-41184 | 2021-10-26 | 6.1 | XSS in the `of` option of the `.position()` util |
| CVE-2021-41183 | 2021-10-26 | 6.1 | XSS in `*Text` options of the Datepicker widget |
| CVE-2021-41182 | 2021-10-26 | 6.1 | XSS in the `altField` option of the Datepicker widget |
| CVE-2012-6662 | 2014-11-24 | 4.3 | same package: jquery-ui (npm) |
| CVE-2010-5312 | 2014-11-24 | 6.1 | same package: jquery-ui (npm) |
| CVE-2026-137713 | 2026-11-27 | 6.4 | same weakness (CWE-79) from the same CNA (mitre) |
| CVE-2026-128666 | 2026-11-18 | 6.1 | same weakness (CWE-79) from the same CNA (mitre) |
Add it to your agent
One command for Claude Code; setup for Claude Desktop, Cursor and others. No signup or key.
claude mcp add --transport http keygraph-cve https://cve-mcp.keygraph.io/mcp
Then ask for triage_cve CVE-2016-7103, or call /api/v1/vulnerabilities/CVE-2016-7103. To prove whether it is exploitable in your running app, run Shannon, Keygraph's open-source AI pentester.