Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

CVE-2022-31160 (Medium) detected in jquery-ui-1.10.3.min.js, jquery-ui-1.10.1.min.js #129

Open
mend-for-github-com bot opened this issue Aug 11, 2022 · 0 comments
Labels
Mend: dependency security vulnerability Security vulnerability detected by WhiteSource

Comments

@mend-for-github-com
Copy link
Contributor

mend-for-github-com bot commented Aug 11, 2022

CVE-2022-31160 - Medium Severity Vulnerability

Vulnerable Libraries - jquery-ui-1.10.3.min.js, jquery-ui-1.10.1.min.js

jquery-ui-1.10.3.min.js

A curated set of user interface interactions, effects, widgets, and themes built on top of the jQuery JavaScript Library.

Library home page: https://cdnjs.cloudflare.com/ajax/libs/jqueryui/1.10.3/jquery-ui.min.js

Path to dependency file: /UrbanRoast-tutorial/modules/module1/1-2/main.html

Path to vulnerable library: /UrbanRoast-tutorial/modules/module1/1-2/main.html

Dependency Hierarchy:

  • jquery-ui-1.10.3.min.js (Vulnerable Library)
jquery-ui-1.10.1.min.js

A curated set of user interface interactions, effects, widgets, and themes built on top of the jQuery JavaScript Library.

Library home page: https://cdnjs.cloudflare.com/ajax/libs/jqueryui/1.10.1/jquery-ui.min.js

Path to dependency file: /UrbanRoast-tutorial/modules/module1/1-3/locations.html

Path to vulnerable library: /UrbanRoast-tutorial/resources/javascripts/jquery-ui.js,/UrbanRoast-tutorial/modules/module1/1-3/../../../resources/javascripts/jquery-ui.js

Dependency Hierarchy:

  • jquery-ui-1.10.1.min.js (Vulnerable Library)

Found in HEAD commit: 8a027629e1d1d82ce0fb49a090c585960d0967cd

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 the label in a span.

Publish Date: 2022-07-20

URL: CVE-2022-31160

CVSS 3 Score Details (6.1)

Base Score Metrics:

  • Exploitability Metrics:
    • Attack Vector: Network
    • Attack Complexity: Low
    • Privileges Required: None
    • User Interaction: Required
    • Scope: Changed
  • Impact Metrics:
    • Confidentiality Impact: Low
    • Integrity Impact: Low
    • Availability Impact: None

For more information on CVSS3 Scores, click here.

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

@mend-for-github-com mend-for-github-com bot added the Mend: dependency security vulnerability Security vulnerability detected by WhiteSource label Aug 11, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Mend: dependency security vulnerability Security vulnerability detected by WhiteSource
Projects
None yet
Development

No branches or pull requests

0 participants