This repository has been archived by the owner on Aug 1, 2021. It is now read-only.
CVE-2012-6708 (Medium) detected in jquery-1.8.1.min.js #9
Labels
security vulnerability
Security vulnerability detected by WhiteSource
CVE-2012-6708 - Medium Severity Vulnerability
Vulnerable Library - jquery-1.8.1.min.js
JavaScript library for DOM operations
Library home page: https://cdnjs.cloudflare.com/ajax/libs/jquery/1.8.1/jquery.min.js
Path to dependency file: npm-v7-resolutions/node_modules/redeyed/examples/browser/index.html
Path to vulnerable library: npm-v7-resolutions/node_modules/redeyed/examples/browser/index.html
Dependency Hierarchy:
Found in HEAD commit: d4914bf0f4f3d041b3a219f1f8eb2eb6c98b9c28
Found in base branch: main
Vulnerability Details
jQuery before 1.9.0 is vulnerable to Cross-site Scripting (XSS) attacks. The jQuery(strInput) function does not differentiate selectors from HTML in a reliable fashion. In vulnerable versions, jQuery determined whether the input was HTML by looking for the '<' character anywhere in the string, giving attackers more flexibility when attempting to construct a malicious payload. In fixed versions, jQuery only deems the input to be HTML if it explicitly starts with the '<' character, limiting exploitability only to attackers who can control the beginning of a string, which is far less common.
Publish Date: 2018-01-18
URL: CVE-2012-6708
CVSS 3 Score Details (6.1)
Base Score Metrics:
Suggested Fix
Type: Upgrade version
Origin: https://nvd.nist.gov/vuln/detail/CVE-2012-6708
Release Date: 2018-01-18
Fix Resolution: jQuery - v1.9.0
Step up your Open Source Security Game with WhiteSource here
The text was updated successfully, but these errors were encountered: