CVE-2022-31160
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`.
How to fix
- jqueryui jquery_ui1.13.2 or later
- jquery-ui1.13.2 or later
- org.webjars.npm:jquery-ui1.13.2 or later
- jquery-ui-rails8.0.0 or later
- jQuery.UI.Combined1.13.2 or later
- lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/QB2FJQXCNHO32VGVOC6DY6IPGVE4VDU6/
- lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/6XBR3G3JR5ZIOJDO4224M3INXDS2VFDD/
- lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/J5LGNTICB5BRFAG3DHVVELS6H3CZSQMO/
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| jqueryui jquery_ui | v < 1.13.2 | 1.13.2 |
| netapp h300s_firmware | No range specified | — |
| netapp h500s_firmware | No range specified | — |
| netapp h700s_firmware | No range specified | — |
| netapp h410s_firmware | No range specified | — |
| netapp h410c_firmware | No range specified | — |
| netapp oncommand_insight | No range specified | — |
| drupal jquery_ui_checkboxradio | 8.x-1.0, 8.x-1.1, 8.x-1.2, 8.x-1.3 | — |
| fedoraproject fedora | 35, 36, 37 | — |
| debian debian_linux | 10.0 | — |
| jquery-uinpm | v < 1.13.2 | 1.13.2 |
| org.webjars.npm:jquery-uiMaven | v < 1.13.2 | 1.13.2 |
| jquery-ui-railsRubyGems | v < 8.0.0 | 8.0.0 |
| jQuery.UI.CombinedNuGet | v < 1.13.2 | 1.13.2 |
Check your version
Choose the product and enter the version you run to see whether it falls in the affected range.
Attack Surface Management
See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.