jQuery-UI is the official jQuery user interface library. Prior to version 1.13.0, accepting the value of various `*Text` options of the Datepicker widget from untrusted sources may execute untrusted code. The issue is fixed in jQuery UI 1.13.0. The values passed to various `*Text` options are now always treated as pure text, not HTML. A workaround is to not accept the value of the `*Text` options from untrusted sources.
CVE-2021-41183 - Medium Severity Vulnerability
Vulnerable Library - jquery-ui-1.12.1.tgz
A curated set of user interface interactions, effects, widgets, and themes built on top of the jQuery JavaScript Library.
Library home page: https://registry.npmjs.org/jquery-ui/-/jquery-ui-1.12.1.tgz
Path to dependency file: /E-voting-using-blockchain/evoting app/src/package.json
Path to vulnerable library: /evoting app/src/node_modules/jquery-ui/package.json
Dependency Hierarchy: - :x: **jquery-ui-1.12.1.tgz** (Vulnerable Library)
Found in HEAD commit: 3c02898f89d78283ce791eb1b53b2b5a667681ad
Found in base branch: master
Vulnerability Details
jQuery-UI is the official jQuery user interface library. Prior to version 1.13.0, accepting the value of various `*Text` options of the Datepicker widget from untrusted sources may execute untrusted code. The issue is fixed in jQuery UI 1.13.0. The values passed to various `*Text` options are now always treated as pure text, not HTML. A workaround is to not accept the value of the `*Text` options from untrusted sources.
Publish Date: 2021-10-26
URL: CVE-2021-41183
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-2021-41183
Release Date: 2021-10-26
Fix Resolution: 1.13.0
Step up your Open Source Security Game with Mend here