CVE-2022-31160: jQuery UI contains potential XSS vulnerability when refreshing a checkboxradio with an HTML-like initial text label
Vulnerability summary
CVE-2022-31160 is a medium (CVSS 6.1) vulnerability in debian debian_linux. EPSS estimates a 2.69% chance of exploitation in the next 30 days, higher than 85.8% of scored vulnerabilities. 1 public exploit is recorded.
Not severe (CVSS 6.1, network access); no exploitation reported by the 5 checked sources
Source freshness unavailable
How is this decided?Advisory lineage
Upstream 0 · Downstream 3 · Related 2Timeline
- 20-07-2022PublishedVulnerability first disclosed.
- 22-04-2025Last modifiedVulnerability information updated.
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`.
CVSS metrics
8 scores · 8 sources · 1 version- OSV · UbuntuEcosystem advisory · calculated6.1MediumCVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
- OSV · DebianEcosystem advisory · calculated6.1MediumCVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
- OSV · NpmEcosystem advisory · calculated6.1MediumCVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
- OSV · MavenEcosystem advisory · calculated6.1MediumCVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
- OSV · NugetEcosystem advisory · calculated6.1MediumCVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
- OSV · RubygemsEcosystem advisory · calculated6.1MediumCVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
- NVDNIST6.1MediumCVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
EPSS trend
Probability
2.69%
Chance of exploitation in the next 30 days
Percentile
86%
Versus all other CVEs
30-day change
Increase +0.05 pp
From 2.64% on 04-10-2026
Known exploited
Compare KEV catalogsNot in the CISA KEV catalog.
Not in the ENISA CNW catalog.
Not in the CIRCL catalog.
Public exploits
1 foundJquery Ui
Maturity: poc
Weaknesses
CWE · root causeAffected systems
Known conditions: network-reachable, no authentication, user interaction (CVSS vector). Other conditions: not stated in public data.
Debian2 products
- jqueryui< 1.13.2+dfsg-1
- debian_linuxEOL10.0
Drupal1 product
- jquery_ui_checkboxradio8.x-1.0 | 8.x-1.1 | 8.x-1.2 | 8.x-1.3
Fedoraproject1 product
- fedoraEOL35 | 36 | 37
Jquery1 product
- jquery-ui< 1.13.2
Jqueryui1 product
- jquery_ui< 1.13.2
Npm1 product
- jquery-ui< 1.13.2
NuGet1 product
- jQuery.UI.Combined< 1.13.2
Org.webjars.npm1 product
- jquery-ui< 1.13.2
RubyGems1 product
- jquery-ui-rails< 8.0.0
Ubuntu1 product
- jqueryui< 1.12.1+dfsg-5ubuntu0.18.04.1~esm2 | < 1.12.1+dfsg-5ubuntu0.20.04.1 | < 1.12.1+dfsg-5ubuntu0.20.04.1~esm3 | < 1.13.1+dfsg-1ubuntu0.1~esm1
11 vendors · 17 products
References
24 links- github.com/jquery/jquery-ui/security/advisories/GHSA-h6gj-6jjq-h8g9REPORTWEBExploitMitigationRelease NotesThird Party Advisory
- github.com/jquery/jquery-ui/commit/8cc5bae1caa1fcf96bf5862c5646c787020ba3f9REPORTWEBPatchThird Party Advisory
- security.netapp.com/advisory/ntap-20220909-0007/Third Party Advisory
- lists.fedoraproject.org/archives/…Vendor Advisory
- lists.fedoraproject.org/archives/…Vendor Advisory
- lists.fedoraproject.org/archives/…Vendor Advisory
Show all 24 references
- github.com/jquery/jquery-uiPACKAGE