CVE-2022-31160
MEDIUMjQuery UI <1.13.2 - XSS
Title source: llmDescription
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`.
Exploits (1)
nomisec
WORKING POC
by CyberOne-TeamARES · poc
https://github.com/CyberOne-TeamARES/jquery-cve-2022-31160
References (9)
Scores
CVSS v3
6.1
EPSS
0.1018
EPSS Percentile
93.2%
Attack Vector
NETWORK
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
Details
CWE
CWE-79
Status
published
Products (19)
debian/debian_linux
10.0
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
jqueryui/jquery_ui
< 1.13.2
netapp/h300s_firmware
... and 9 more
Published
Jul 20, 2022
Tracked Since
Feb 18, 2026