CVE-2021-41183
XSS in `*Text` options of the Datepicker widget
- State
- Published
- Severity
- 6.5 Medium
- Published
- Oct 26, 2021
- Updated
- Feb 13, 2025
- Reserved
- Sep 15, 2021
Description
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.
Scores
| CVSS | Score | Vector | Source |
|---|---|---|---|
| 3.1 | 6.5 Medium | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:N | GitHub_M |
Weaknesses
- CWE-79 Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')
Affected Products
| Product | Versions |
|---|---|
jquery-uijquery |
|
References
- https://blog.jqueryui.com/2021/10/jquery-ui-1-13-0-released/
- https://github.com/jquery/jquery-ui/security/advisories/GHSA-j7qv-pgf6-hvh4
- https://github.com/jquery/jquery-ui/pull/1953
- https://bugs.jqueryui.com/ticket/15284
- FEDORA-2021-51c256bf87vendor-advisory
- FEDORA-2021-ab38307fc3vendor-advisory
- FEDORA-2021-013ab302bevendor-advisory
- [debian-lts-announce] 20220119 [SECURITY] [DLA-2889-1] drupal7 security updatemailing-list
- https://www.drupal.org/sa-core-2022-002
- https://www.oracle.com/security-alerts/cpuapr2022.html
- https://security.netapp.com/advisory/ntap-20211118-0004/
- https://www.drupal.org/sa-contrib-2022-004
- https://www.drupal.org/sa-core-2022-001
- https://www.oracle.com/security-alerts/cpujul2022.html
- https://www.tenable.com/security/tns-2022-09
- FEDORA-2022-9d655503eavendor-advisory
- FEDORA-2022-bf18450366vendor-advisory
- https://lists.debian.org/debian-lts-announce/2023/08/msg00040.html
Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.