Live threats

All CVEs / Jqueryui

CVE-2022-31160Jqueryui Jquery Ui

Medium 6.1 No auth needed

Priority
52
CVSS 3.1
6.1
EPSS
2.5%
probability of exploitation in 30 days · percentile 86
Auth required
No
Published
Jul 20, 2022
Updated
Jun 17, 2026
Category
Application · Cross-platform
Weakness (CWE)
CWE-79
SSVC (CISA)
Exploitation: proof of concept · Automatable: no · Technical impact: partial
Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N

What happens

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

Original NVD text.

What to do

  1. Apply the vendor's security update for Jquery Ui.
  2. It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.

Affected packages

EcosystemPackageAffected versionsFixed inHow to upgrade
Maven org.webjars.npm:jquery-ui < 1.13.2 1.13.2 —
NuGet jQuery.UI.Combined < 1.13.2 1.13.2 dotnet add package jQuery.UI.Combined --version 1.13.2
RubyGems jquery-ui-rails < 8.0.0 8.0.0 gem "jquery-ui-rails", ">= 8.0.0"
npm jquery-ui < 1.13.2 1.13.2 npm install jquery-ui@1.13.2

Per OSV / GitHub Advisories (GHSA-h6gj-6jjq-h8g9). Check the version in your lockfile before upgrading.

Affected products (CPE)

VendorProductVersions
jqueryuijquery_ui< 1.13.2
netapph300s_firmwareall
netapph500s_firmwareall
netapph700s_firmwareall
netapph410s_firmwareall
netapph410c_firmwareall
netapponcommand_insightall
drupaljquery_ui_checkboxradio8.x-1.0
drupaljquery_ui_checkboxradio8.x-1.1
drupaljquery_ui_checkboxradio8.x-1.2
drupaljquery_ui_checkboxradio8.x-1.3
fedoraprojectfedora35
fedoraprojectfedora36
fedoraprojectfedora37
debiandebian_linux10.0

Official sources

References

Links published by the sources. Open them with care.