CVE-2022-31160

jQuery UI contains potential XSS vulnerability when refreshing a checkboxradio with an HTML-like initial text label

MEDIUM
6.1
CVSS Score
Published: July 20, 2022 at 12:00 AM UTC
Updated: June 17, 2026 at 04:44 AM UTC
16 products affected across 6 vendorsDebian LinuxFedoraOnCommand Insight

Using jquery-ui by jquery?

Get instant alerts when new vulnerabilities affect jquery-ui - before attackers find them.

Real-time alertsTrack your software stackFree plan available
Severity
MEDIUM6.1
Exploit prediction
EPSS 3%
SSVC
PoC

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

Affected

Our own answer: ranges merged, affected separated from platform-only, with confidence and review flags.

v < 1.13.2
Affected range stops below 1.13.2, so it looks safe — our inference, not a vendor statement
All versions
netapp-h300s (same device)
All versions
netapp-h410c (same device)
All versions
netapp-h410s (same device)
All versions
netapp-h500s (same device)
All versions
netapp-h700s (same device)
All versions

SSVC — Action Prioritization

SSVCPoCNot automatablePartial impact

SSVC signals action urgency (what to patch first), separate from CVSS which measures severity.

CVSS

6.1MEDIUMGitHub_M
Attack Vector
NETWORK
Complexity
LOW
Privileges
NONE
User Interaction
REQUIRED
Scope
CHANGED
Confidentiality
LOW
Integrity
LOW
Availability
NONE
Vector?

Quick Info

StatusMODIFIED
CWE
CWE-79

Get alerted

Stop reading CVE feeds looking for your own stack

Track the products you run and VulnTracker tells you when a new CVE affects them — with what is known about fixing it, and nothing about the rest.

Free plan, no card