CVE-2021-41183
XSS in `*Text` options of the Datepicker widget
Reported by github_m · Published October 26, 2021
jquery-ui-rails is fixed in 7.0.0 and 1.13.0 (RubyGems)
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.
Fixed versions
Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.
| Package | Ecosystem | Fixed in |
|---|---|---|
| jquery-ui-rails | RubyGems | 7.0.0, 1.13.0 |
| org.webjars.npm:jquery-ui | Maven Central | 1.13.0 |
| jQuery.UI.Combined | NuGet | 1.13.0 |
| jquery-ui | npm | 1.13.0 |
| drupal/drupal | Packagist | 9.3.3, 9.2.11, 7.86 |
| drupal | Bitnami | 9.3.3, 9.2.11, 7.86.0 |
| big_data_spatial_and_graph | oracle | 23.1 |
| mysql_enterprise_monitor | oracle | 8.0.29 |
| application_express | oracle | 22.1.1 |
| rest_data_services | oracle | 22.1.1 |
| jquery_ui | jqueryui | 1.13.0 |
| policy_automation | oracle | 12.2.5 |
5 more packages have a fixed version. See every fix in Lookup.
Risk scores
Affected products
| Vendor | Product | Versions |
|---|---|---|
| jquery | jquery-ui | < 1.13.0 |
| RubyGems | jquery-ui-rails | 0 |
| Maven | org.webjars.npm:jquery-ui | 0 |
| NuGet | jQuery.UI.Combined | 0 |
| drupal | drupal | 7.0, 9.2.0, 9.3.0 |
| npm | jquery-ui | 0 |
| jquery | jquery-ui | 0 |
| alpine | drupal7 | 0 |
Timeline
- Oct 26, 2021 CVE Published
- Oct 27, 2021 EPSS Score (30 in total, the first dated here)
- Mar 10, 2026 Security Advisory (4 in total, the first dated here)
- Jul 20, 2026 Coalition ESS Score
- Nov 22, 2026 Distribution Patch (2 in total, the first dated here)
Query this with the API
The same record, from the CLI:
vulnetix vdb vuln CVE-2021-41183
vulnetix vdb fixes CVE-2021-41183
Or with curl, using the org id and key from your account page:
curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
"https://api.vdb.vulnetix.com/v2/vuln/CVE-2021-41183/fixes/registry"
The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart
References
- 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
- FEDORA-2022-9d655503ea vendor-advisory
- FEDORA-2022-bf18450366 vendor-advisory
- https://nvd.nist.gov/vuln/detail/CVE-2021-41183 advisory
- https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/NXIUUBRVLA4E7G7MMIKCEN75YN7UFERW/ url
…and 5 more