CVE-2012-6708 describes a Cross-site Scripting (XSS) vulnerability in jQuery versions prior to 1.9.0. This flaw arises because the jQuery(strInput) function inadequately distinguishes between selectors and HTML, allowing malicious input containing '<' anywhere in the string to be interpreted as HTML. The vulnerability has a CVSSv3 score of 6.1 (Medium), indicating it can be exploited remotely with low attack complexity, requiring user interaction, and potentially leading to low impact on confidentiality and integrity. While not listed in CISA's KEV catalog, an ExploitDB entry exists for a Linksys device demonstrating XSS, though there is no evidence of widespread active exploitation or significant community discussion.
| Vendor | Product | Version(s) | CPE |
|---|---|---|---|
< 1.9.0CPE matchmatch criteria | cpe:2.3:a:jquery:jquery:*:*:*:*:*:*:*:* |
CVSS version used by this source: 3.0
CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
The average CVE in this peer group has 0.0 Twitter, 0.0 Reddit, 0.1 Bluesky, 0.0 Mastodon, and 0.1 GitHub mentions.
No media coverage found for this CVE.
The average CVE in this peer group has 0.1 InfoSec Media, 0.0 Vendor Blog, and 0.0 Security Researcher mentions.
CVE-2012-6708
Sep 10, 2024Cross-Site Scripting in jquery
Sep 1, 2020jQuery 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.
Jan 9, 2018js-jquery: XSS via improper selector detection
Mar 21, 2017