CVE-2021-41182Jqueryui Jquery Ui
Code Injection in jQuery UI Datepicker Widget
Medium 6.1 No auth neededHigh EPSS
Follow: this CVE · Jqueryui · Jqueryui Jquery Ui We alert you by email or Slack (account required).
- Priority
- 56
- CVSS 3.1
- 6.1
- EPSS
- 41.3% probability of exploitation in 30 days · percentile 99
- Auth required
- No
- Published
- Oct 26, 2021
- Updated
- Aug 25, 2026
- Category
- Application · Cross-platform
- Weakness (CWE)
- CWE-79
- Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
What happens
jQuery UI versions prior to 1.13.0 are vulnerable to code injection through the `altField` option of the Datepicker widget. An attacker can execute untrusted code if the application accepts values from this option from external sources without validation. The vulnerability requires user interaction.
Show the original NVD text
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.
What to do
Patch available · fixed versions: 1.13.0
Update jQuery UI to version 1.13.0 or later. If you cannot update, validate and sanitize values of the altField option before use.
- Apply the vendor's security update for Jquery Ui.
- It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | How to upgrade |
|---|---|---|---|---|
| Maven | org.webjars.npm:jquery-ui |
< 1.13.0 |
1.13.0 |
— |
| NuGet | jQuery.UI.Combined |
< 1.13.0 |
1.13.0 |
dotnet add package jQuery.UI.Combined --version 1.13.0 |
| RubyGems | jquery-ui-rails |
< 7.0.0 |
7.0.0 |
gem "jquery-ui-rails", ">= 7.0.0" |
| npm | jquery-ui |
< 1.13.0 |
1.13.0 |
npm install jquery-ui@1.13.0 |
Per OSV / GitHub Advisories (GHSA-9gj3-hwp5-pmwc). Check the version in your lockfile before upgrading.
Affected products (CPE)
| Vendor | Product | Versions |
|---|---|---|
| jqueryui | jquery_ui | < 1.13.0 |
| fedoraproject | fedora | 33 |
| fedoraproject | fedora | 34 |
| fedoraproject | fedora | 35 |
| fedoraproject | fedora | 36 |
| netapp | h500s_firmware | all |
| netapp | h700s_firmware | all |
| netapp | h300e_firmware | all |
| netapp | h500e_firmware | all |
| netapp | h700e_firmware | all |
| netapp | h410s_firmware | all |
| netapp | h410c_firmware | all |
| netapp | h300s_firmware | all |
| debian | debian_linux | 9.0 |
| drupal | drupal | ≥ 7.0 < 7.86 |
| oracle | communications_interactive_session_recorder | 6.4 |
| oracle | communications_operations_monitor | 4.3 |
| oracle | communications_operations_monitor | 4.4 |
| oracle | communications_operations_monitor | 5.0 |
| oracle | hospitality_suite8 | ≥ 8.11.0 ≤ 8.14.0 |
| oracle | hospitality_suite8 | 8.10.2 |
| oracle | mysql_enterprise_monitor | ≤ 8.0.29 |
| oracle | primavera_unifier | 17.7 |
| oracle | primavera_unifier | 17.8 |
| oracle | primavera_unifier | 17.9 |
| oracle | primavera_unifier | 17.10 |
| oracle | primavera_unifier | 17.11 |
| oracle | primavera_unifier | 17.12 |
| oracle | primavera_unifier | 18.8 |
| oracle | primavera_unifier | 19.12 |
| oracle | primavera_unifier | 20.12 |
| oracle | primavera_unifier | 21.12 |
| oracle | weblogic_server | 12.2.1.3.0 |
| oracle | weblogic_server | 12.2.1.4.0 |
| oracle | weblogic_server | 14.1.1.0.0 |
| tenable | tenable.sc | < 5.21.0 |
| oracle | agile_product_lifecycle_management | 9.3.6 |
| oracle | application_express | < 22.1.1 |
| oracle | banking_platform | 2.9.0 |
| oracle | banking_platform | 2.12.0 |
| oracle | big_data_spatial_and_graph | < 23.1 |
| oracle | big_data_spatial_and_graph | 23.1 |
| oracle | hospitality_inventory_management | 9.1.0 |
| oracle | hospitality_materials_control | 18.1 |
| oracle | jd_edwards_enterpriseone_tools | ≤ 9.2.6.3 |
| oracle | peoplesoft_enterprise_peopletools | 8.58 |
| oracle | peoplesoft_enterprise_peopletools | 8.59 |
| oracle | policy_automation | ≥ 12.2.0 ≤ 12.2.25 |
| oracle | primavera_unifier | ≥ 17.7 ≤ 17.12 |
| oracle | rest_data_services | < 22.1.1 |
| oracle | rest_data_services | 22.1.1 |
On social media
1 person and 1 post on Bluesky in the last 30 days.
Most recent posts, without bots or automated feeds. The text belongs to its authors. Search on Bluesky
Official sources
References
Links published by the sources. Open them with care.
- blog.jqueryui.com Release Notes Vendor Advisory
- github.com Patch Third Party Advisory
- github.com Exploit Mitigation Third Party Advisory
- lists.debian.org Mailing List Third Party Advisory
- lists.debian.org
- lists.fedoraproject.org Mailing List Third Party Advisory
- lists.fedoraproject.org Mailing List Third Party Advisory
- lists.fedoraproject.org Mailing List Third Party Advisory
- lists.fedoraproject.org Mailing List Third Party Advisory
- lists.fedoraproject.org Mailing List Third Party Advisory
- security.netapp.com Third Party Advisory
- www.drupal.org Third Party Advisory
- www.drupal.org Third Party Advisory
- www.oracle.com Patch Third Party Advisory
- www.oracle.com Patch Third Party Advisory
- www.tenable.com Third Party Advisory