CVE-2012-6708: jQuery - Reflected XSS
- Cve: CVE-2012-6708
- Name: jQuery - Reflected XSS
- 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.
- Impact: Attackers can execute arbitrary scripts in the context of the victim's browser, leading to session hijacking or data theft.
- Remediation: Update to jQuery 1.9.0 or later.
- Vulnerability type: reflected_xss
- Vulnerability impact: client_script_exec
- Requirement type: user_interaction
- Requirements: Attacker needs to control the input string
- Labels source: projectdiscovery
- Severity: medium
- Cvss score: 6.1
- Cvss vector: CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
- Epss score: 0.08632
- Epss percentile: 0.95233
- Assignee: [email protected]
- Published at: 2018-01-18T23:29:00Z
- Age in days: 3232
- Modified at: 2026-06-16T23:48:38Z
- Patch available: yes
- Public exploits total: 1
- References total: 11
- Products total: 1
- Oss: yes
- Projects total: 1
- Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2012-6708
- Nvd status: modified
- Checked, none or zero: known exploited entries, nuclei templates, public exploits capped, rejected by nvd
Cwe
| Id | Name |
|---|---|
| CWE-79 | Improper Neutralization of Input During Web Page Generation |
Hackerone
- Reports: 84
- Rank: 1237
Public exploits
| Url | Source | Added date |
|---|---|---|
| https://bugs.jquery.com/ticket/11290 | nvd | 2018-01-18 |
References
Same in every row:
- Source: nvd
Products
| Product | Affected | Platform bound | Sources | Url |
|---|---|---|---|---|
| jquery:jquery | < 1.9.0 | no | nvd | /v1/products/jquery/jquery |
Projects
| Repository | Link kinds | Indexed | Url |
|---|---|---|---|
| jquery/jquery | commit, fix, package | yes | /v1/repositories/jquery/jquery |
Index
- Repositories: 8
- Repositories high signal: 5
- Packages: 2
Exploitation
- Exploitation seen: yes
- Public exploit: yes
- Public exploit count: 1
- Public exploit first date: 2018-01-18
- Remote: yes
- Hackerone reports: 84
- Exposed hosts: 12269623
- Checked, none or zero: known exploited, known exploited by, initial access, authentication required
- Not known: known exploited since, vulncheck known exploited since, nuclei template, initial access since