UBUNTU-CVE-2022-31160

    Dashboard / Vulnerabilities / UBUNTU-CVE-2022-31160

    UBUNTU-CVE-2022-31160

    Published: 20 Jul 2022Last Modified: 4 Feb 2026

    Summary:

    Details: 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 packages

    Package

    Name: jqueryui

    Purl: pkg:deb/ubuntu/[email protected]+dfsg-5ubuntu0.18.04.1~esm2?arch=source&distro=esm-apps/bionic

    Affected ranges

    Type: ECOSYSTEM

    Events:

    Introduced- 0
    Fixed -1.12.1+dfsg-5ubuntu0.18.04.1~esm2

    Affected versions

    1.12.1+dfsg-5

    Common Vulnerability Scoring System

    Attack Vector
    Network
    Adjacent
    Local
    Physical
    Privileges Required
    None
    Low
    High
    User Interaction
    None
    Required
    Scope
    Unchanged
    Changed
    Confidentiality
    None
    Low
    High
    Integrity
    None
    Low
    High
    Availability
    None
    Low
    High
    UBUNTU-CVE-2022-31160 | CVE-DB