UBUNTU-CVE-2022-31160

Source
https://ubuntu.com/security/CVE-2022-31160
Import Source
https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2022/UBUNTU-CVE-2022-31160.json
JSON Data
https://api.osv.dev/v1/vulns/UBUNTU-CVE-2022-31160
Related
Published
2022-07-20T20:15:00Z
Modified
2024-10-15T14:09:58Z
Severity
  • 6.1 (Medium) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N CVSS Calculator
Summary
[none]
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.

References

Affected packages

Ubuntu:Pro:18.04:LTS / jqueryui

Package

Name
jqueryui
Purl
pkg:deb/ubuntu/jqueryui?arch=src?distro=esm-apps/bionic

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
1.12.1+dfsg-5ubuntu0.18.04.1~esm2

Affected versions

1.*

1.12.1+dfsg-5

Ecosystem specific

{
    "availability": "Available with Ubuntu Pro: https://ubuntu.com/pro",
    "ubuntu_priority": "medium",
    "binaries": [
        {
            "binary_version": "1.12.1+dfsg-5ubuntu0.18.04.1~esm2",
            "binary_name": "libjs-jquery-ui"
        },
        {
            "binary_version": "1.12.1+dfsg-5ubuntu0.18.04.1~esm2",
            "binary_name": "libjs-jquery-ui-docs"
        },
        {
            "binary_version": "1.12.1+dfsg-5ubuntu0.18.04.1~esm2",
            "binary_name": "node-jquery-ui"
        }
    ]
}

Ubuntu:20.04:LTS / jqueryui

Package

Name
jqueryui
Purl
pkg:deb/ubuntu/jqueryui?arch=src?distro=focal

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
1.12.1+dfsg-5ubuntu0.20.04.1

Affected versions

1.*

1.12.1+dfsg-5

Ecosystem specific

{
    "availability": "No subscription required",
    "ubuntu_priority": "medium",
    "binaries": [
        {
            "binary_version": "1.12.1+dfsg-5ubuntu0.20.04.1",
            "binary_name": "libjs-jquery-ui"
        },
        {
            "binary_version": "1.12.1+dfsg-5ubuntu0.20.04.1",
            "binary_name": "libjs-jquery-ui-docs"
        },
        {
            "binary_version": "1.12.1+dfsg-5ubuntu0.20.04.1",
            "binary_name": "node-jquery-ui"
        }
    ]
}

Ubuntu:Pro:20.04:LTS / jqueryui

Package

Name
jqueryui
Purl
pkg:deb/ubuntu/jqueryui?arch=src?distro=esm-apps/focal

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
1.12.1+dfsg-5ubuntu0.20.04.1

Affected versions

1.*

1.12.1+dfsg-5
1.12.1+dfsg-5ubuntu0.1~esm2
1.12.1+dfsg-5ubuntu0.20.04.1~esm3

Ecosystem specific

{
    "availability": "Available with Ubuntu Pro: https://ubuntu.com/pro",
    "ubuntu_priority": "medium",
    "binaries": [
        {
            "binary_version": "1.12.1+dfsg-5ubuntu0.20.04.1",
            "binary_name": "libjs-jquery-ui"
        },
        {
            "binary_version": "1.12.1+dfsg-5ubuntu0.20.04.1",
            "binary_name": "libjs-jquery-ui-docs"
        },
        {
            "binary_version": "1.12.1+dfsg-5ubuntu0.20.04.1",
            "binary_name": "node-jquery-ui"
        }
    ]
}

Ubuntu:22.04:LTS / jqueryui

Package

Name
jqueryui
Purl
pkg:deb/ubuntu/jqueryui?arch=src?distro=jammy

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected

Affected versions

1.*

1.12.1+dfsg-8
1.13.0+dfsg-1
1.13.1+dfsg-1

Ecosystem specific

{
    "ubuntu_priority": "medium"
}

Ubuntu:Pro:22.04:LTS / jqueryui

Package

Name
jqueryui
Purl
pkg:deb/ubuntu/jqueryui?arch=src?distro=esm-apps/jammy

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
1.13.1+dfsg-1ubuntu0.1~esm1

Affected versions

1.*

1.12.1+dfsg-8
1.13.0+dfsg-1
1.13.1+dfsg-1

Ecosystem specific

{
    "availability": "Available with Ubuntu Pro: https://ubuntu.com/pro",
    "ubuntu_priority": "medium",
    "binaries": [
        {
            "binary_version": "1.13.1+dfsg-1ubuntu0.1~esm1",
            "binary_name": "libjs-jquery-ui"
        },
        {
            "binary_version": "1.13.1+dfsg-1ubuntu0.1~esm1",
            "binary_name": "libjs-jquery-ui-docs"
        },
        {
            "binary_version": "1.13.1+dfsg-1ubuntu0.1~esm1",
            "binary_name": "node-jquery-ui"
        }
    ]
}

Ubuntu:24.10 / jqueryui

Package

Name
jqueryui
Purl
pkg:deb/ubuntu/jqueryui?arch=src?distro=oracular

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
1.13.2+dfsg-1

Ecosystem specific

{
    "availability": "No subscription required",
    "ubuntu_priority": "medium",
    "binaries": [
        {
            "binary_version": "1.13.2+dfsg-1",
            "binary_name": "libjs-jquery-ui"
        },
        {
            "binary_version": "1.13.2+dfsg-1",
            "binary_name": "libjs-jquery-ui-docs"
        },
        {
            "binary_version": "1.13.2+dfsg-1",
            "binary_name": "node-jquery-ui"
        }
    ]
}

Ubuntu:24.04:LTS / jqueryui

Package

Name
jqueryui
Purl
pkg:deb/ubuntu/jqueryui?arch=src?distro=noble

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
1.13.2+dfsg-1

Ecosystem specific

{
    "availability": "No subscription required",
    "ubuntu_priority": "medium",
    "binaries": [
        {
            "binary_version": "1.13.2+dfsg-1",
            "binary_name": "libjs-jquery-ui"
        },
        {
            "binary_version": "1.13.2+dfsg-1",
            "binary_name": "libjs-jquery-ui-docs"
        },
        {
            "binary_version": "1.13.2+dfsg-1",
            "binary_name": "node-jquery-ui"
        }
    ]
}