CVE-2022-31160

Medium

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`.

SeverityMedium
CVSS6.1
Exploit probability—
ProductJqueryui Jquery Ui
PublishedJul 20, 2022
First seenJul 20, 2022

How to fix

Affected products

ProductAffected versionsFixed in
jqueryui jquery_uiv < 1.13.21.13.2
netapp h300s_firmwareNo range specified—
netapp h500s_firmwareNo range specified—
netapp h700s_firmwareNo range specified—
netapp h410s_firmwareNo range specified—
netapp h410c_firmwareNo range specified—
netapp oncommand_insightNo range specified—
drupal jquery_ui_checkboxradio8.x-1.0, 8.x-1.1, 8.x-1.2, 8.x-1.3—
fedoraproject fedora35, 36, 37—
debian debian_linux10.0—
jquery-uinpmv < 1.13.21.13.2
org.webjars.npm:jquery-uiMavenv < 1.13.21.13.2
jquery-ui-railsRubyGemsv < 8.0.08.0.0
jQuery.UI.CombinedNuGetv < 1.13.21.13.2

Check your version

Choose the product and enter the version you run to see whether it falls in the affected range.

In the Intelligence 360 plan

Attack Surface Management

See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.