CVE-2012-6708

Exp

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.

Published: 2018-01-18 Last update: 2024-11-21 Assigner: [email protected] Source: [email protected]

Conclusion & alert: CVE-2012-6708 is rated High Exploit Risk (65.3/100): CVSS Medium severity, with medium exploitation likelihood (EPSS 0.93%). Core evidence: 2 public exploit reference(s) are indexed (Exploit-DB). Mandatory action: Public exploits are available—assess exposure, apply mitigations, and prioritize patching.

Risk is dynamic; we continuously reassess and refresh what is shown on this page as upstream context changes.

Public exploit references (Exploit-DB) for CVE-2012-6708

EDB-ID Source Kind Published Link
49708 exploit_db edb 2021-03-25 Exploit-DB ↗
nvd_ref exploit_tag Exploit-DB ↗

Exploit prediction scoring system (EPSS) score for CVE-2012-6708

EPSS lead: Daily EPSS estimates relative likelihood of exploitation; percentile ranks this CVE among scored vulnerabilities (higher = more severe relative rank).

# Date Old EPSS score New EPSS score Delta (New - Old)
1 2026-03-04 1.49% 0.93% -0.56%
2 2026-03-01 0.90% 1.49% +0.58%
3 2026-02-04 0.90%

Full EPSS history (36 records total)

Common vulnerability scoring system (CVSS) metrics for CVE-2012-6708

CVSS metrics for this CVE.

Base score Version Severity Vector Exploitability Impact Score source
6.1 3.0 MEDIUM
CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N Click to expand
Attack vector (AV:N)
Could be attacked over the internet or any normal routed network—not just someone sitting at the machine.
Attack complexity (AC:L)
Once they can reach the bug, pulling it off is straightforward—no weird race conditions or rare setup.
Privileges required (PR:N)
No account or special rights needed—anonymous or random user is enough.
User interaction (UI:R)
A real person has to do something—click, install, enable—otherwise it doesn’t land.
Scope (S:C)
Breaking this can reach past the original component and bite other resources—bigger blast radius.
Confidentiality (C:L)
Some sensitive info could get out, but not a total data dump.
Integrity (I:L)
Attackers could change some data, but it’s limited—not everything goes.
Availability (A:N)
Service keeps running; no real outage angle.
2.8 2.7 [email protected]
4.3 2.0 MEDIUM
AV:N/AC:M/Au:N/C:N/I:P/A:N Click to expand
Access vector (AV:N)
Can be exploited remotely over network reachability.
Access complexity (AC:M)
Exploitation needs some favorable conditions, but not exceptional ones.
Authentication (AU:N)
No authentication is required.
Confidentiality impact (C:N)
No confidentiality impact.
Integrity impact (I:P)
Partial integrity impact.
Availability impact (A:N)
No availability impact.
8.6 2.9 [email protected]

Weakness enumeration for CVE-2012-6708

GitHub Security Advisory for CVE-2012-6708

OS Trackers for CVE-2012-6708

vendor priority summary link
alpine CVE-2012-6708: 1 source package rows (ruby); 1 state rows across 1 repos (3.10-main); fixed 1, open 0. https://security.alpinelinux.org/vuln/CVE-2012-6708
redhat medium https://access.redhat.com/security/cve/CVE-2012-6708
suse medium CVE-2012-6708 severity moderate: SUSE including 274 source package names (2.17-17.3:libruby2_5-2_5-2.5.7-4.8.1, 2.17-17.3:ruby2.5-2.5.7-4.8.1, …), 937 product×package rows across 234 product lines (Container bci/ruby, Container suse/rmt-server, … (234 product lines)): Fixed 702, Known Affected 157, Known Not Affected 48, Will Not Fix 30. https://www.suse.com/security/cve/CVE-2012-6708/
ubuntu low CVE-2012-6708 low priority: Ubuntu including 1 source packages (jquery), 19 status rows across 19 suites (artful, bionic, cosmic, disco, eoan, focal, groovy, hirsute, impish, jammy, kinetic, lunar, mantic, noble, oracular, plucky, trusty, upstream, xenial): DNE 10, not-affected 7, released 2. https://ubuntu.com/security/CVE-2012-6708

Affected software / configurations for CVE-2012-6708

Vendor Product Version Raw CPE
jquery jquery < 1.9.0 cpe:2.3:a:jquery:jquery:*:*:*:*:*:*:*:*

References for CVE-2012-6708

URL Tags
http://lists.opensuse.org/opensuse-security-announce/2020-03/msg00041.html
http://packetstormsecurity.com/files/153237/RetireJS-CORS-Issue-Script-Execution.html
http://packetstormsecurity.com/files/161972/Linksys-EA7500-2.0.8.194281-Cross-Site-Scripting.html
http://www.securityfocus.com/bid/102792 Third Party Advisory VDB Entry
https://bugs.jquery.com/ticket/11290 Exploit Issue Tracking Vendor Advisory
https://github.com/jquery/jquery/commit/05531fc4080ae24070930d15ae0cea7ae056457d Patch Third Party Advisory
https://help.ecostruxureit.com/display/public/UADCE725/Security+fixes+in+StruxureWare+Data+Center+Expert+v7.6.0 Third Party Advisory
https://lists.apache.org/thread.html/519eb0fd45642dcecd9ff74cb3e71c20a4753f7d82e2f07864b5108f%40%3Cdev.drill.apache.org%3E
https://lists.apache.org/thread.html/b0656d359c7d40ec9f39c8cc61bca66802ef9a2a12ee199f5b0c1442%40%3Cdev.drill.apache.org%3E
https://lists.apache.org/thread.html/f9bc3e55f4e28d1dcd1a69aae6d53e609a758e34d2869b4d798e13cc%40%3Cissues.drill.apache.org%3E
https://snyk.io/vuln/npm:jquery:20120206 Patch Third Party Advisory
cvelogic Threat Intelligence