Live threats

All CVEs / Jqueryui

CVE-2021-41182Jqueryui Jquery Ui

Code Injection in jQuery UI Datepicker Widget

Medium 6.1 No auth neededHigh EPSS

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.

Source text, unmodified. NVD.

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.

Vendor advisory · blog.jqueryui.com ↗

  1. Apply the vendor's security update for Jquery Ui.
  2. It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.

Affected packages

EcosystemPackageAffected versionsFixed inHow 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)

VendorProductVersions
jqueryuijquery_ui< 1.13.0
fedoraprojectfedora33
fedoraprojectfedora34
fedoraprojectfedora35
fedoraprojectfedora36
netapph500s_firmwareall
netapph700s_firmwareall
netapph300e_firmwareall
netapph500e_firmwareall
netapph700e_firmwareall
netapph410s_firmwareall
netapph410c_firmwareall
netapph300s_firmwareall
debiandebian_linux9.0
drupaldrupal≥ 7.0 < 7.86
oraclecommunications_interactive_session_recorder6.4
oraclecommunications_operations_monitor4.3
oraclecommunications_operations_monitor4.4
oraclecommunications_operations_monitor5.0
oraclehospitality_suite8≥ 8.11.0 ≤ 8.14.0
oraclehospitality_suite88.10.2
oraclemysql_enterprise_monitor≤ 8.0.29
oracleprimavera_unifier17.7
oracleprimavera_unifier17.8
oracleprimavera_unifier17.9
oracleprimavera_unifier17.10
oracleprimavera_unifier17.11
oracleprimavera_unifier17.12
oracleprimavera_unifier18.8
oracleprimavera_unifier19.12
oracleprimavera_unifier20.12
oracleprimavera_unifier21.12
oracleweblogic_server12.2.1.3.0
oracleweblogic_server12.2.1.4.0
oracleweblogic_server14.1.1.0.0
tenabletenable.sc< 5.21.0
oracleagile_product_lifecycle_management9.3.6
oracleapplication_express< 22.1.1
oraclebanking_platform2.9.0
oraclebanking_platform2.12.0
oraclebig_data_spatial_and_graph< 23.1
oraclebig_data_spatial_and_graph23.1
oraclehospitality_inventory_management9.1.0
oraclehospitality_materials_control18.1
oraclejd_edwards_enterpriseone_tools≤ 9.2.6.3
oraclepeoplesoft_enterprise_peopletools8.58
oraclepeoplesoft_enterprise_peopletools8.59
oraclepolicy_automation≥ 12.2.0 ≤ 12.2.25
oracleprimavera_unifier≥ 17.7 ≤ 17.12
oraclerest_data_services< 22.1.1
oraclerest_data_services22.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.