You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
CVE-2022-31160 - Medium Severity Vulnerability
Vulnerable Library - jquery-ui-1.12.1.jar
WebJar for jQuery UI
Library home page: http://webjars.org
Path to dependency file: /app/pom.xml
Path to vulnerable library: /canner/.m2/repository/org/webjars/jquery-ui/1.12.1/jquery-ui-1.12.1.jar
Dependency Hierarchy:
Found in HEAD commit: 1068bf0e7ce0b9a2b2ddff85d8b0c78c394237f8
Found in base branch: master
Vulnerability 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 thelabel
in aspan
.Publish Date: 2022-07-20
URL: CVE-2022-31160
CVSS 3 Score Details (6.1)
Base Score Metrics:
Suggested Fix
Type: Upgrade version
Origin: https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2022-31160
Release Date: 2022-07-20
Fix Resolution: jquery-ui - 1.13.2
The text was updated successfully, but these errors were encountered: