CVEfocus › CVE database › CVE-2021-41183

CVE-2021-41183XSS in `*Text` options of the Datepicker widget

CVSS 6.5 MediumEPSS 8.5% (higher than 96% of CVEs)Published 2021-10-26Updated 2025-02-13Assigner: GitHub_M

jQuery-UI is the official jQuery user interface library. Prior to version 1.13.0, accepting the value of various `*Text` options of the Datepicker widget from untrusted sources may execute untrusted code. The issue is fixed in jQuery UI 1.13.0. The values passed to various `*Text` options are now always treated as pure text, not HTML. A workaround is to not accept the value of the `*Text` options from untrusted sources.

CWE-79

What to do

Fixed builds are available from Alpine, Debian, Maven, RubyGems, Ubuntu, npm: see the table below for the fixed version per release.

Ubuntu has not shipped a fix for every release yet.

Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.

curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \
  -H "Content-Type: text/plain" --data-binary @inventory.txt

Vendor status at a glance

13Fixed
3Fix pending
6Not affected

Status by vendor and release

From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.

ReleasePackageStatusFixed versionAdvisory
Ubuntu 20.04jqueryuiFixed1.12.1+dfsg-5ubuntu0.20.04.1UBUNTU-CVE-2021-41183
Ubuntu 18.04jqueryuiFix pending1.12.1+dfsg-5ubuntu0.18.04.1~esm3 (Ubuntu Pro)UBUNTU-CVE-2021-41183
Ubuntu 16.04jqueryuiFix pending1.10.1+dfsg-1ubuntu0.16.04.1~esm1 (Ubuntu Pro)UBUNTU-CVE-2021-41183
Ubuntu 14.04jqueryuiFix pending1.10.1+dfsg-1ubuntu0.14.04.1~esm1 (Ubuntu Pro)UBUNTU-CVE-2021-41183
Debian 14jqueryuiFixed1.13.0+dfsg-1DEBIAN-CVE-2021-41183
Debian 13jqueryuiFixed1.13.0+dfsg-1DEBIAN-CVE-2021-41183
Debian 12jqueryuiFixed1.13.0+dfsg-1DEBIAN-CVE-2021-41183
Red Hat Enterprise Linux 8pcsNot affected
Red Hat Enterprise Linux 8pcs-snmpNot affected
Red Hat Enterprise Linux 7pcsNot affected
Red Hat Enterprise Linux 7pcs-snmpNot affected
Red Hat Enterprise Linux 7python-clufterNot affected
Red Hat Enterprise Linux 6pcsNot affected
Alpine Linux 3.20drupal7Fixed7.86-r0ALPINE-CVE-2021-41183
Alpine Linux 3.19drupal7Fixed7.86-r0ALPINE-CVE-2021-41183
Alpine Linux 3.18drupal7Fixed7.86-r0ALPINE-CVE-2021-41183
Alpine Linux 3.17drupal7Fixed7.86-r0ALPINE-CVE-2021-41183
Alpine Linux 3.16drupal7Fixed7.86-r0ALPINE-CVE-2021-41183
Alpine Linux 3.15drupal7Fixed7.86-r0ALPINE-CVE-2021-41183
npm libraryjquery-uiFixed1.13.0GHSA-j7qv-pgf6-hvh4
RubyGems libraryjquery-ui-railsFixed7.0.0GHSA-j7qv-pgf6-hvh4
Maven libraryorg.webjars.npm:jquery-uiFixed1.13.0GHSA-j7qv-pgf6-hvh4

What the vendor says

As published in the CVE record by GitHub_M, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.

Vendor advisories:

References

About this page

Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.