XSS in `*Text` options of the Datepicker widget
jquery-ui
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| jquery-ui npm |
|
|
| org.webjars.npm:jquery-ui Maven |
|
|
| jquery-ui-rails RubyGems |
|
|
| jQuery.UI.Combined NuGet |
|
|
Original 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.
From the CVE record · GitHub_M
References
- blog.jqueryui.com/2021/10/jquery-ui-1-13-0-releasedVendor advisory
- github.com/jquery/jquery-ui/security/advisories/GHSA-j7qv-pgf6-hvh4Exploit
- github.com/jquery/jquery-ui/pull/1953Patch
- bugs.jqueryui.com/ticket/15284Vendor advisory
- lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/O74SXYY7RGXREQDQUDQD4BPJ4QQTD2XQAdvisory
- lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/SNXA7XRKGINWSUIPIZ6ZBCTV6N3KSHESAdvisory
- lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/NXIUUBRVLA4E7G7MMIKCEN75YN7UFERWAdvisory
- lists.debian.org/debian-lts-announce/2022/01/msg00014.htmlAdvisory
- drupal.org/sa-core-2022-002Advisory
- oracle.com/security-alerts/cpuapr2022.htmlPatch
- security.netapp.com/advisory/ntap-20211118-0004Advisory
- drupal.org/sa-contrib-2022-004Advisory