CVE-2022-31160
Last modified
CVE-2022-31160 is a medium-severity vulnerability rated 6.1/10 on the CVSS scale. jQuery UI is a curated set of user interface interactions, effects, widgets, and themes built on top of jQuery. Versions prior to 1.13.2 are potentially vulnerable to cross-site scripting. EPSS estimates a 1.93% chance of exploitation in the next 30 days.
Description
jQuery UI is a curated set of user interface interactions, effects, widgets, and themes built on top of jQuery. Versions prior to 1.13.2 are potentially vulnerable to cross-site scripting. Initializing a checkboxradio widget on an input enclosed within a label makes that parent label contents considered as the input label. Calling `.checkboxradio( "refresh" )` on such a widget and the initial HTML contained encoded HTML entities will make them erroneously get decoded. This can lead to potentially executing JavaScript code. The bug has been patched in jQuery UI 1.13.2. To remediate the issue, someone who can change the initial HTML can wrap all the non-input contents of the `label` in a `span`.
Metrics
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
Weakness Enumeration
Affected Software
| Vendor | Product | Versions |
|---|---|---|
| Jqueryui | Jquery Ui | < 1.13.2 |
| Netapp | H300s Firmware | All versions |
| Netapp | H500s Firmware | All versions |
| Netapp | H700s Firmware | All versions |
| Netapp | H410s Firmware | All versions |
| Netapp | H410c Firmware | All versions |
| Netapp | Oncommand Insight | All versions |
| Drupal | Jquery Ui Checkboxradio | 8.x-1.0 |
| Drupal | Jquery Ui Checkboxradio | 8.x-1.1 |
| Drupal | Jquery Ui Checkboxradio | 8.x-1.2 |
| Drupal | Jquery Ui Checkboxradio | 8.x-1.3 |
| Fedoraproject | Fedora | 35 |
| Fedoraproject | Fedora | 36 |
| Fedoraproject | Fedora | 37 |
| Debian | Debian Linux | 10.0 |
References
- https://blog.jqueryui.com/2022/07/jquery-ui-1-13-2-released/Release Notes, Vendor Advisory
- https://github.com/jquery/jquery-ui/commit/8cc5bae1caa1fcf96bf5862c5646c787020ba3f9Patch, Third Party Advisory
- https://github.com/jquery/jquery-ui/security/advisories/GHSA-h6gj-6jjq-h8g9Exploit, Mitigation, Release Notes, Third Party Advisory
- https://lists.debian.org/debian-lts-announce/2022/12/msg00015.htmlMailing List, Third Party Advisory
- https://security.netapp.com/advisory/ntap-20220909-0007/Third Party Advisory
- https://www.drupal.org/sa-contrib-2022-052Third Party Advisory
- https://blog.jqueryui.com/2022/07/jquery-ui-1-13-2-released/Release Notes, Vendor Advisory
- https://github.com/jquery/jquery-ui/commit/8cc5bae1caa1fcf96bf5862c5646c787020ba3f9Patch, Third Party Advisory
- https://github.com/jquery/jquery-ui/security/advisories/GHSA-h6gj-6jjq-h8g9Exploit, Mitigation, Release Notes, Third Party Advisory
- https://lists.debian.org/debian-lts-announce/2022/12/msg00015.htmlMailing List, Third Party Advisory
- https://security.netapp.com/advisory/ntap-20220909-0007/Third Party Advisory
- https://www.drupal.org/sa-contrib-2022-052Third Party Advisory
Timeline
- Published
- Last Modified
- Status
- Modified
Frequently Asked Questions
What is CVE-2022-31160?
How severe is CVE-2022-31160?
How do I fix CVE-2022-31160?
Are you affected by CVE-2022-31160?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
