Original description
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.
Affected software
- Drupal ≥ 7.0 < 7.86 Fixed in: 7.86 exact match
Details
- Published
- 2021-10-26
- Last modified
- 2026-08-25
- CVSS vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N- CWE
- CWE-79
- EPSS (30-day exploit probability)
- 39.36% (percentile 99)
References
- cve.org/CVE-2021-41182
- nvd.nist.gov/vuln/detail/CVE-2021-41182
- blog.jqueryui.com/2021/10/jquery-ui-1-13-0-released/
- github.com/jquery/jquery-ui/pull/1954/commits/6809ce843e5ac4128108ea4c15cbc100653c2b63
- github.com/jquery/jquery-ui/security/advisories/GHSA-9gj3-hwp5-pmwc
- lists.debian.org/debian-lts-announce/2022/01/msg00014.html
- lists.debian.org/debian-lts-announce/2023/08/msg00040.html
- lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/H...
- lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/N...
- lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/O...
- lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/S...
- lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/S...
- security.netapp.com/advisory/ntap-20211118-0004/
- www.drupal.org/sa-contrib-2022-004
Track these versions on your own servers
InfraGuard collects installed software versions from every server and flags the ones with known vulnerabilities. Self-hosted — nothing leaves your network.
This product uses data from the NVD API but is not endorsed or certified by the NVD. CVE® is a registered trademark of The MITRE Corporation; CVE records are used under the CVE Program Terms of Use.