CVE-2022-31160

EUVD-2022-6344
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`.
Cross-site Scripting
ProviderTypeBase ScoreAtk. VectorAtk. ComplexityPriv. RequiredVector
NISTPrimary
6.1 MEDIUM
NETWORK
LOW
NONE
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
GitHub_MCNA
6.1 MEDIUM
NETWORK
LOW
NONE
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
Base Score
CVSS 3.x
EPSS Score
Percentile: 92%
Affected Products (NVD)
VendorProductVersion
jqueryuijquery_ui
𝑥
< 1.13.2
netapph300s_firmware
-
netapph500s_firmware
-
netapph700s_firmware
-
netapph410s_firmware
-
netapph410c_firmware
-
netapponcommand_insight
-
drupaljquery_ui_checkboxradio
8.x-1.0:x
drupaljquery_ui_checkboxradio
8.x-1.1:x
drupaljquery_ui_checkboxradio
8.x-1.2:x
drupaljquery_ui_checkboxradio
8.x-1.3:x
debiandebian_linux
10.0
𝑥
= Vulnerable software versions
Debian logo
Debian Releases
Debian Product
Codename
jqueryui
bookworm
1.13.2+dfsg-1
fixed
bullseye
1.12.1+dfsg-8+deb11u2
fixed
sid
1.13.2+dfsg-1
fixed
trixie
1.13.2+dfsg-1
fixed
Ubuntu logo
Ubuntu Releases
Ubuntu Product
Codename
jqueryui
bionic
Fixed 1.12.1+dfsg-5ubuntu0.18.04.1~esm2
released
focal
Fixed 1.12.1+dfsg-5ubuntu0.20.04.1
released
jammy
Fixed 1.13.1+dfsg-1ubuntu0.1~esm1
released
kinetic
ignored
lunar
not-affected
mantic
not-affected
noble
not-affected
trusty
not-affected
xenial
not-affected
References