SecurityContext

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

IdName
CWE-79Improper Neutralization of Input During Web Page Generation

Hackerone

  • Reports: 84
  • Rank: 1237

Public exploits

UrlSourceAdded date
https://bugs.jquery.com/ticket/11290nvd2018-01-18

References

Same in every row:

  • Source: nvd
UrlTags
https://github.com/jquery/jquery/commit/05531fc4080ae24070930d15ae0cea7ae056457dPatch, Third Party Advisory
https://snyk.io/vuln/npm:jquery:20120206Patch, Third Party Advisory
https://bugs.jquery.com/ticket/11290Exploit, Issue Tracking, Vendor Advisory
http://www.securityfocus.com/bid/102792Third Party Advisory, VDB Entry
https://help.ecostruxureit.com/display/public/UADCE725/Security+fixes+in+StruxureWare+Data+Center+Expert+v7.6.0Third Party Advisory
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
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

Products

ProductAffectedPlatform boundSourcesUrl
jquery:jquery< 1.9.0nonvd/v1/products/jquery/jquery

Projects

RepositoryLink kindsIndexedUrl
jquery/jquerycommit, fix, packageyes/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