Staging Environment: Content and features may be unstable or change without notice.
Search for packages
Package details: pkg:npm/jquery-ui@1.13.0-rc.3
purl pkg:npm/jquery-ui@1.13.0-rc.3
Next non-vulnerable version 1.13.2
Latest non-vulnerable version 1.13.2
Risk 3.1
Vulnerabilities affecting this package (4)
Vulnerability Summary Fixed by
VCID-btgv-ef3h-83d3
Aliases:
CVE-2021-41182
GHSA-9gj3-hwp5-pmwc
Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') 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.
1.13.0
Affected by 1 other vulnerability.
VCID-gypk-ukbc-7qe3
Aliases:
CVE-2021-41183
GHSA-j7qv-pgf6-hvh4
Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') 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.
1.13.0
Affected by 1 other vulnerability.
VCID-kuee-hxg5-qqgt
Aliases:
CVE-2022-31160
GHSA-h6gj-6jjq-h8g9
jQuery UI vulnerable to XSS when refreshing a checkboxradio with an HTML-like initial text label ### Impact Initializing a checkboxradio widget on an input enclosed within a label makes that parent label contents considered as the input label. If you call `.checkboxradio( "refresh" )` on such a widget and the initial HTML contained encoded HTML entities, they will erroneously get decoded. This can lead to potentially executing JavaScript code. For example, starting with the following initial secure HTML: ```html <label> <input id="test-input"> &lt;img src=x onerror="alert(1)"&gt; </label> ``` and calling: ```js $( "#test-input" ).checkboxradio(); $( "#test-input" ).checkboxradio( "refresh" ); ``` will turn the initial HTML into: ```html <label> <!-- some jQuery UI elements --> <input id="test-input"> <img src=x onerror="alert(1)"> </label> ``` and the alert will get executed. ### Patches The bug has been patched in jQuery UI 1.13.2. ### Workarounds To remediate the issue, if you can change the initial HTML, you can wrap all the non-input contents of the `label` in a `span`: ```html <label> <input id="test-input"> <span>&lt;img src=x onerror="alert(1)"&gt;</span> </label> ``` ### References https://blog.jqueryui.com/2022/07/jquery-ui-1-13-2-released/ ### For more information If you have any questions or comments about this advisory, search for a relevant issue in [the jQuery UI repo](https://github.com/jquery/jquery-ui/issues?q=is%3Aissue+is%3Aopen+sort%3Aupdated-desc). If you don't find an answer, open a new issue.
1.13.2
Affected by 0 other vulnerabilities.
VCID-sbmj-9trz-2ybf
Aliases:
CVE-2021-41184
GHSA-gpqq-952q-5327
Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') jQuery-UI is the official jQuery user interface library.Any string value passed to the `of` option is now treated as a CSS selector. A workaround is to not accept the value of the `of` option from untrusted sources.
1.13.0
Affected by 1 other vulnerability.
Vulnerabilities fixed by this package (0)
Vulnerability Summary Aliases
This package is not known to fix vulnerabilities.

Date Actor Action Vulnerability Source VulnerableCode Version
2026-04-11T23:21:52.205846+00:00 GitLab Importer Affected by VCID-kuee-hxg5-qqgt https://gitlab.com/gitlab-org/advisories-community/-/blob/main/npm/jquery-ui/CVE-2022-31160.yml 38.3.0
2026-04-11T22:46:10.611247+00:00 GitLab Importer Affected by VCID-gypk-ukbc-7qe3 https://gitlab.com/gitlab-org/advisories-community/-/blob/main/npm/jquery-ui/CVE-2021-41183.yml 38.3.0
2026-04-11T22:46:09.213354+00:00 GitLab Importer Affected by VCID-btgv-ef3h-83d3 https://gitlab.com/gitlab-org/advisories-community/-/blob/main/npm/jquery-ui/CVE-2021-41182.yml 38.3.0
2026-04-11T22:46:06.083298+00:00 GitLab Importer Affected by VCID-sbmj-9trz-2ybf https://gitlab.com/gitlab-org/advisories-community/-/blob/main/npm/jquery-ui/CVE-2021-41184.yml 38.3.0
2026-04-02T23:28:42.952473+00:00 GitLab Importer Affected by VCID-kuee-hxg5-qqgt https://gitlab.com/gitlab-org/advisories-community/-/blob/main/npm/jquery-ui/CVE-2022-31160.yml 38.1.0
2026-04-02T22:56:00.062724+00:00 GitLab Importer Affected by VCID-gypk-ukbc-7qe3 https://gitlab.com/gitlab-org/advisories-community/-/blob/main/npm/jquery-ui/CVE-2021-41183.yml 38.1.0
2026-04-02T22:55:58.915218+00:00 GitLab Importer Affected by VCID-btgv-ef3h-83d3 https://gitlab.com/gitlab-org/advisories-community/-/blob/main/npm/jquery-ui/CVE-2021-41182.yml 38.1.0
2026-04-02T22:55:56.600976+00:00 GitLab Importer Affected by VCID-sbmj-9trz-2ybf https://gitlab.com/gitlab-org/advisories-community/-/blob/main/npm/jquery-ui/CVE-2021-41184.yml 38.1.0
2026-04-01T17:49:57.477978+00:00 GitLab Importer Affected by VCID-kuee-hxg5-qqgt https://gitlab.com/gitlab-org/advisories-community/-/blob/main/npm/jquery-ui/CVE-2022-31160.yml 38.0.0
2026-04-01T17:14:21.989340+00:00 GitLab Importer Affected by VCID-gypk-ukbc-7qe3 https://gitlab.com/gitlab-org/advisories-community/-/blob/main/npm/jquery-ui/CVE-2021-41183.yml 38.0.0
2026-04-01T17:14:20.772692+00:00 GitLab Importer Affected by VCID-btgv-ef3h-83d3 https://gitlab.com/gitlab-org/advisories-community/-/blob/main/npm/jquery-ui/CVE-2021-41182.yml 38.0.0
2026-04-01T17:14:17.684812+00:00 GitLab Importer Affected by VCID-sbmj-9trz-2ybf https://gitlab.com/gitlab-org/advisories-community/-/blob/main/npm/jquery-ui/CVE-2021-41184.yml 38.0.0