Rapid7 Vulnerability & Exploit Database

jQuery Vulnerability: CVE-2012-6708

Free InsightVM Trial No Credit Card Necessary
Watch Demo See how it all works
Back to Search

jQuery Vulnerability: CVE-2012-6708

Severity
4
CVSS
(AV:N/AC:M/Au:N/C:N/I:P/A:N)
Published
01/18/2018
Created
07/25/2018
Added
02/06/2018
Modified
05/09/2019

Description

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.

Solution(s)

  • jquery-upgrade-1_9_0

With Rapid7 live dashboards, I have a clear view of all the assets on my network, which ones can be exploited, and what I need to do in order to reduce the risk in my environment in real-time. No other tool gives us that kind of value and insight.

– Scott Cheney, Manager of Information Security, Sierra View Medical Center

;