XSS in Drupal Jquery Ui Checkboxradio
CVE-2022-31160
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`.
Vulnerability class: XSS (Cross-Site Scripting)
EPSS: 0.026 (84.8th percentile) — read the EPSS interpretation.
CVSS v3 metric
CVSS v3 base score 6.1 (Medium). Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N.
Affected products
- Drupal Jquery_ui_checkboxradio — versions 8.x-1.0, 8.x-1.1, 8.x-1.2
- Jquery Jquery-ui — versions < 1.13.2
- Jqueryui Jquery_ui
- Netapp H300s
- Netapp H300s_firmware
- Netapp H410c
- Netapp H410c_firmware
- Netapp H410s
- Netapp H410s_firmware
- Netapp H500s
Weakness classification (CWE)
Public proof-of-concept exploits
References
- security-advisories@github.com (Exploit, Third Party Advisory, Release Notes, Mitigation)
- security-advisories@github.com (Patch, Third Party Advisory)
- security-advisories@github.com (Release Notes, Vendor Advisory)
- security-advisories@github.com (Third Party Advisory)
- security-advisories@github.com (Third Party Advisory)
- security-advisories@github.com (vendor-advisory)
- security-advisories@github.com (vendor-advisory)
- security-advisories@github.com (vendor-advisory)
- security-advisories@github.com (mailing-list, Mailing List, Third Party Advisory)
Frequently asked questions
- What is CVE-2022-31160?
- CVE-2022-31160 is a medium-severity vulnerability in Drupal Jquery Ui Checkboxradio, classified under Cross-site Scripting. CVSS score: 6.1/10. Published 2022-07-20.
- How severe is CVE-2022-31160?
- Medium severity. CVSS v3 base score is 6.1 out of 10.
- Is CVE-2022-31160 known to be exploited?
- 7 public proof-of-concept repositories are indexed. Not currently listed in the CISA KEV catalog.