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.
CVE-2012-6708 - Medium Severity Vulnerability
Vulnerable Libraries - jquery-1.3.2.js, detain/osrs-toolkit-php-4.0.1
jquery-1.3.2.js
JavaScript library for DOM operations
Library home page: https://cdnjs.cloudflare.com/ajax/libs/jquery/1.3.2/jquery.js
Path to vulnerable library: /vendor/detain/osrs-toolkit-php/demo/js/jquery-1.3.2.js
Dependency Hierarchy: - :x: **jquery-1.3.2.js** (Vulnerable Library)
detain/osrs-toolkit-php-4.0.1
OpenSRS PHP Toolkit
Library home page: https://api.github.com/repos/detain/osrs-toolkit-php/zipball/c70929f690ee2d28bc4eeb46188295acba000f1e
Dependency Hierarchy: - :x: **detain/osrs-toolkit-php-4.0.1** (Vulnerable Library)
Found in HEAD commit: 7588ad476215cc299f4cd6fac5a9613b73ca80ad
Found in base branch: master
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: - 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://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 Mend here