ADVISORIES

Vulnerability

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

7 advisories report this vulnerability, across 7 ecosystems.

Advisories

  • DEBIAN-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…

    CVE-2022-31160 Debian Updated 20 November 2026
  • DLA-3230-1

    jqueryui - security update

    CVE-2021-41182CVE-2021-41183CVE-2021-41184CVE-2022-31160 Debian Updated 20 November 2026
  • GHSA-h6gj-6jjq-h8g9

    jQuery UI vulnerable to XSS when refreshing a checkboxradio with an HTML-like initial text label

    Moderate CVE-2022-31160 MavenNuGetRubyGemsnpm Updated 21 July 2025
  • SUSEVEX-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…

    Moderate CVE-2022-31160 SUSE Updated 29 August 2026
  • UBUNTU-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…

    CVE-2022-31160 Ubuntu Updated 4 February 2026
  • USN-5181-1

    jqueryui vulnerability

    CVE-2021-41184CVE-2022-31160 Ubuntu Updated 27 April 2026
  • USN-6419-1

    jqueryui vulnerabilities

    CVE-2016-7103CVE-2021-41182CVE-2021-41183CVE-2021-41184 Ubuntu Updated 29 June 2026

References