Search for packages
| purl | pkg:deb/debian/jqueryui@1.12.1%2Bdfsg-5 |
| Next non-vulnerable version | 1.12.1+dfsg-8+deb11u2 |
| Latest non-vulnerable version | 1.12.1+dfsg-8+deb11u2 |
| Risk | 3.1 |
| Vulnerability | Summary | Fixed by |
|---|---|---|
|
VCID-274t-xnyx-g3g1
Aliases: CVE-2021-41183 GHSA-j7qv-pgf6-hvh4 |
XSS in `*Text` options of the Datepicker widget in jquery-ui ### Impact Accepting the value of various `*Text` options of the Datepicker widget from untrusted sources may execute untrusted code. For example, initializing the datepicker in the following way: ```js $("#datepicker").datepicker( { showButtonPanel: true, showOn: "both", closeText: "<script>doEvilThing('closeText XSS')</script>", currentText: "<script>doEvilThing('currentText XSS')</script>", prevText: "<script>doEvilThing('prevText XSS')</script>", nextText: "<script>doEvilThing('nextText XSS')</script>", buttonText: "<script>doEvilThing('buttonText XSS')</script>", appendText: "<script>doEvilThing('appendText XSS')</script>", } ); ``` will call `doEvilThing` with 6 different parameters coming from all `*Text` options. ### Patches 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. ### Workarounds A workaround is to not accept the value of the `*Text` options from untrusted sources. ### 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). If you don't find an answer, open a new issue. |
Affected by 0 other vulnerabilities. |
|
VCID-5h7t-vacy-6ybx
Aliases: CVE-2021-41182 GHSA-9gj3-hwp5-pmwc |
XSS in the `altField` option of the Datepicker widget in jquery-ui ### Impact Accepting the value of the `altField` option of the Datepicker widget from untrusted sources may execute untrusted code. For example, initializing the datepicker in the following way: ```js $("#datepicker").datepicker( { altField: "<img onerror='doEvilThing()' src='/404' >", } ); ``` will call the `doEvilThing` function. ### Patches 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. ### Workarounds A workaround is to not accept the value of the `altField` option from untrusted sources. ### 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). If you don't find an answer, open a new issue." |
Affected by 0 other vulnerabilities. |
|
VCID-969e-x2hw-yuae
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"> <img src=x onerror="alert(1)"> </label> ``` and calling: ```javascript $( "#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><img src=x onerror="alert(1)"></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. |
Affected by 0 other vulnerabilities. |
|
VCID-ktep-avsk-gkae
Aliases: CVE-2021-41184 GHSA-gpqq-952q-5327 |
XSS in the `of` option of the `.position()` util in jquery-ui ### Impact Accepting the value of the `of` option of the [`.position()`](https://api.jqueryui.com/position/) util from untrusted sources may execute untrusted code. For example, invoking the following code: ```js $("#element").position( { my: "left top", at: "right bottom", of: "<img onerror='doEvilThing()' src='/404' />", collision: "none" }); ``` will call the `doEvilThing()` function. ### Patches The issue is fixed in jQuery UI 1.13.0. Any string value passed to the `of` option is now treated as a CSS selector. ### Workarounds A workaround is to not accept the value of the `of` option from untrusted sources. ### 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). If you don't find an answer, open a new issue." |
Affected by 0 other vulnerabilities. |
| Vulnerability | Summary | Aliases |
|---|---|---|
| This package is not known to fix vulnerabilities. | ||
| Date | Actor | Action | Vulnerability | Source | VulnerableCode Version |
|---|---|---|---|---|---|
| 2025-08-01T18:22:09.849043+00:00 | Debian Oval Importer | Affected by | VCID-ktep-avsk-gkae | https://www.debian.org/security/oval/oval-definitions-bullseye.xml.bz2 | 37.0.0 |
| 2025-08-01T17:19:32.984750+00:00 | Debian Oval Importer | Affected by | VCID-274t-xnyx-g3g1 | https://www.debian.org/security/oval/oval-definitions-bullseye.xml.bz2 | 37.0.0 |
| 2025-08-01T12:40:09.255108+00:00 | Debian Oval Importer | Affected by | VCID-969e-x2hw-yuae | https://www.debian.org/security/oval/oval-definitions-bullseye.xml.bz2 | 37.0.0 |
| 2025-08-01T12:16:28.888353+00:00 | Debian Oval Importer | Affected by | VCID-5h7t-vacy-6ybx | https://www.debian.org/security/oval/oval-definitions-bullseye.xml.bz2 | 37.0.0 |