Home / jquery / jquery-ui / CVE-2021-41182
CVE-2021-41182: is it exploited, and which versions of jquery-ui are affected and fixed?
CVE-2021-41182 is a cross-site scripting (XSS) vulnerability in jquery-ui. It is not known to be exploited: it is not in CISA's Known Exploited Vulnerabilities catalog (catalog 2026.11.30, read December 3, 2026, 17:39 UTC). Affected: jquery-ui before 1.13.0, jQuery.UI.Combined before 1.13.0, jquery-ui-rails before 7.0.0 and 1 more (GitHub advisory GHSA-9gj3-hwp5-pmwc). Fixed in 1.13.0 and 7.0.0 (GitHub advisory GHSA-9gj3-hwp5-pmwc). Severity: Medium (6.5, CVSS 3.1, from GitHub_M).
Data checked December 3, 2026: last read CISA KEV December 3, 2026, 17:39 UTC, CVE record November 19, 2026, 07:15 UTC and NVD November 19, 2026, 07:53 UTC.
What is CVE-2021-41182?
XSS in the `altField` option of the Datepicker widget
jQuery-UI is the official jQuery user interface library. Prior to version 1.13.0, accepting the value of the `altField` option of the Datepicker widget from untrusted sources may execute untrusted code. The issue is fixed in jQuery UI 1.13.0. Any string value passed to the `altField` option is now treated as a CSS selector. A workaround is to not accept the value of the `altField` option from untrusted sources.
From the CVE record by GitHub_M, last updated February 13, 2025, 16:28 UTC.
Which versions are affected, and which fix it?
| Vendor | Product | Affected | Fixed or not affected from |
|---|---|---|---|
| jquery | jquery-ui | < 1.13.0 |
As the CVE record by GitHub_M states it, last updated February 13, 2025. Version ranges are the CNA's; a version the record calls not affected is usually the fix.
Which packages are affected, and in which version is each fixed?
| Ecosystem | Package | Affected | Fixed in | Advisory |
|---|---|---|---|---|
| npm | jquery-ui | < 1.13.0 | 1.13.0 | GHSA-9gj3-hwp5-pmwc |
| NuGet | jQuery.UI.Combined | < 1.13.0 | 1.13.0 | GHSA-9gj3-hwp5-pmwc |
| RubyGems | jquery-ui-rails | < 7.0.0 | 7.0.0 | GHSA-9gj3-hwp5-pmwc |
| Maven | org.webjars.npm:jquery-ui | < 1.13.0 | 1.13.0 | GHSA-9gj3-hwp5-pmwc |
GitHub Advisory Database, reviewed advisories (CC BY 4.0); advisory updated October 27, 2021. Summary: XSS in the `altField` option of the Datepicker widget in jquery-ui.
Which products and versions does the NVD list as affected?
| Vendor | Product | Versions | Type |
|---|---|---|---|
| jqueryui | jquery ui | before 1.13.0 | application |
| fedoraproject | fedora | 33 | operating system |
| fedoraproject | fedora | 34 | operating system |
| fedoraproject | fedora | 35 | operating system |
| fedoraproject | fedora | 36 | operating system |
| netapp | h500s firmware | all versions | operating system |
| netapp | h700s firmware | all versions | operating system |
| netapp | h300e firmware | all versions | operating system |
| netapp | h500e firmware | all versions | operating system |
| netapp | h700e firmware | all versions | operating system |
| netapp | h410s firmware | all versions | operating system |
| netapp | h410c firmware | all versions | operating system |
| netapp | h300s firmware | all versions | operating system |
| debian | debian linux | 9.0 | operating system |
| drupal | drupal | from 7.0 before 7.86 | application |
| oracle | communications interactive session recorder | 6.4 | application |
| oracle | communications operations monitor | 4.3 | application |
| oracle | communications operations monitor | 4.4 | application |
| oracle | communications operations monitor | 5.0 | application |
| oracle | hospitality suite8 | from 8.11.0 through 8.14.0 | application |
| oracle | hospitality suite8 | 8.10.2 | application |
| oracle | mysql enterprise monitor | through 8.0.29 | application |
| oracle | primavera unifier | 17.7 | application |
| oracle | primavera unifier | 17.8 | application |
| oracle | primavera unifier | 17.9 | application |
NVD analysis (status Modified), last modified August 25, 2026, 16:28 UTC.
How severe is CVE-2021-41182?
| Score | Version | Vector | Source |
|---|---|---|---|
| Medium 6.5 | CVSS 3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:N | GitHub_M |
| Medium 6.1 | CVSS 3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N | NVD |
| Medium 4.3 | CVSS 2.0 | AV:N/AC:M/Au:N/C:N/I:P/A:N | NVD |
Each score is shown as its source gave it: the CNA that wrote the record, CISA's ADP (vulnrichment) and the NVD. They can differ.
What the ratings mean: in CVSS 3 and 4, scores run from 0 to 10, with Low 0.1 to 3.9, Medium 4.0 to 6.9, High 7.0 to 8.9 and Critical 9.0 to 10.0. CVSS 2 has no Critical band: its High runs from 7.0 to 10.0. The vector lists how the flaw is reached (network, local), what an attacker needs (privileges, a user's click) and what it can harm.
Is CVE-2021-41182 exploited in the wild?
- CISA KEV
- Not listed (catalog 2026.11.30)
- EPSS
- 41.3% probability of exploitation activity in the next 30 days, percentile 98.7 (FIRST EPSS, scores of December 3, 2026)
What kind of flaw is it?
- CWE-79 Improper Neutralization of Input During Web Page Generation
Where are the vendor advisories and references?
- https://github.com/jquery/jquery-ui/security/advisories/GHSA-9gj3-hwp5-pmwc
- https://github.com/jquery/jquery-ui/pull/1954/commits/6809ce843e5ac4128108ea4c15cbc100653c2b63
- https://blog.jqueryui.com/2021/10/jquery-ui-1-13-0-released/
- FEDORA-2021-51c256bf87 vendor-advisory
- FEDORA-2021-ab38307fc3 vendor-advisory
- FEDORA-2021-013ab302be vendor-advisory
- [debian-lts-announce] 20220119 [SECURITY] [DLA-2889-1] drupal7 security update mailing-list
- https://www.drupal.org/sa-core-2022-002
- https://www.oracle.com/security-alerts/cpuapr2022.html
- https://security.netapp.com/advisory/ntap-20211118-0004/
- https://www.drupal.org/sa-contrib-2022-004
- https://www.oracle.com/security-alerts/cpujul2022.html
- https://www.tenable.com/security/tns-2022-09
- FEDORA-2022-9d655503ea vendor-advisory
- FEDORA-2022-bf18450366 vendor-advisory
- https://lists.debian.org/debian-lts-announce/2023/08/msg00040.html
When was it published, and where is the official record?
- Reserved
- September 15, 2021
- Published
- October 26, 2021, 00:00 UTC
- CVE record updated
- February 13, 2025, 16:28 UTC by GitHub_M
- NVD
- Modified, last modified August 25, 2026, 16:28 UTC
- Last checked
- CVE list November 19, 2026, 07:15 UTC; NVD November 19, 2026, 07:53 UTC; KEV December 3, 2026, 17:39 UTC; EPSS December 3, 2026
- Official record
- cve.org · NVD
What other CVEs affect jquery-ui?
- Jul 20, 2022CVE-2022-31160 jquery-ui: cross-site scripting (XSS)
- Oct 26, 2021CVE-2021-41184 jquery-ui: cross-site scripting (XSS)
- Oct 26, 2021CVE-2021-41183 jquery-ui: cross-site scripting (XSS)
Questions about CVE-2021-41182
Is CVE-2021-41182 exploited in the wild?
Not as far as CISA knows: it is not in the Known Exploited Vulnerabilities catalog, read December 3, 2026, 17:39 UTC. FIRST's EPSS gives it a 41.3% chance of exploitation activity in the next 30 days (scores of December 3, 2026).
Which versions of jquery-ui are affected by CVE-2021-41182?
jquery-ui before 1.13.0, jQuery.UI.Combined before 1.13.0, jquery-ui-rails before 7.0.0 and org.webjars.npm:jquery-ui before 1.13.0, per the GitHub advisory GHSA-9gj3-hwp5-pmwc. The tables above give every range the sources list.
Which version fixes CVE-2021-41182?
1.13.0 and 7.0.0, per the GitHub advisory GHSA-9gj3-hwp5-pmwc. Check the vendor's advisory before you rely on it.
How severe is CVE-2021-41182?
Medium (6.5, CVSS 3.1, from GitHub_M). The severity table above shows each score with its source.
Where is the official record of CVE-2021-41182?
The CVE Program's record is at cve.org and the NVD's at nvd.nist.gov. For a fix, the vendor's own advisory is the one to follow.