CVE-2022-31160

MEDIUM

jQuery UI < 1.13.2 - Cross-Site Scripting via Checkboxradio Widget Refresh

Title source: llm
STIX 2.1

Exploitation Summary

EIP tracks 1 public exploit for CVE-2022-31160. PoCs published by CyberOne-TeamARES.

AI-analyzed exploit summary This repository demonstrates CVE-2022-31160, a jQuery UI XSS vulnerability where HTML entities in checkboxradio widget labels are decoded during refresh operations, leading to script execution. It includes a Dockerized environment with multiple XSS payloads for educational purposes.

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

Exploits (1)

nomisec WORKING POC
by CyberOne-TeamARES · poc
https://github.com/CyberOne-TeamARES/jquery-cve-2022-31160

This repository demonstrates CVE-2022-31160, a jQuery UI XSS vulnerability where HTML entities in checkboxradio widget labels are decoded during refresh operations, leading to script execution. It includes a Dockerized environment with multiple XSS payloads for educational purposes.

Classification
Working Poc 95%
Attack Type
Xss
Complexity
Trivial
Reliability
Reliable
Target: jQuery UI ≤ 1.13.1
No auth needed
Prerequisites: jQuery UI checkboxradio widget · user interaction to trigger refresh
MITRE ATT&CK
devstral-2 · analyzed Feb 16, 2026 Full analysis →

Scores

CVSS v3 6.1
EPSS 0.0587
EPSS Percentile 90.8%
Attack Vector NETWORK
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N

CISA SSVC

Vulnrichment
Exploitation poc
Automatable no
Technical Impact partial

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