CVE-2022-31160

MEDIUMCVSS 6.1/10EPSS 1.93%

Last modified

CVE-2022-31160 is a medium-severity vulnerability rated 6.1/10 on the CVSS scale. 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. EPSS estimates a 1.93% chance of exploitation in the next 30 days.

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

Metrics

CVSS 3.1
6.1/10

CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N

EPSS Probability
1.93%

77.5th percentile

Probability of exploitation in the next 30 days. Learn more

Weakness Enumeration

Affected Software

VendorProductVersions
JqueryuiJquery Ui< 1.13.2
NetappH300s FirmwareAll versions
NetappH500s FirmwareAll versions
NetappH700s FirmwareAll versions
NetappH410s FirmwareAll versions
NetappH410c FirmwareAll versions
NetappOncommand InsightAll versions
DrupalJquery Ui Checkboxradio8.x-1.0
DrupalJquery Ui Checkboxradio8.x-1.1
DrupalJquery Ui Checkboxradio8.x-1.2
DrupalJquery Ui Checkboxradio8.x-1.3
FedoraprojectFedora35
FedoraprojectFedora36
FedoraprojectFedora37
DebianDebian Linux10.0

References

Timeline

Published
Last Modified
Status
Modified

Frequently Asked Questions

What is 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`.
How severe is CVE-2022-31160?
CVE-2022-31160 has a CVSS score of 6.1/10 (MEDIUM severity). The EPSS model estimates a 1.93% probability of exploitation in the next 30 days.
How do I fix CVE-2022-31160?
Check the vendor references and advisories linked above for patched versions and mitigation guidance. You can also run a Strix scan to test if your systems are affected.

Are you affected by CVE-2022-31160?

Run a free Strix scan to check your systems for this vulnerability.

Scan your code now

Source: NVD / NIST