{"schema":"/api/v1/schema/cve.json","api_version":"1","id":"CVE-2012-6708","published":"2018-01-18T23:29:00.213000Z","last_modified":"2026-06-16T23:48:38.840000Z","status":"Modified","cvss":{"version":"3.0","score":6.1,"severity":"MEDIUM","vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N","source":"nvd@nist.gov","primary":true},"auth":false,"cwes":["CWE-79"],"cpes":[{"criteria":"cpe:2.3:a:jquery:jquery:*:*:*:*:*:*:*:*","part":"a","vendor":"jquery","product":"jquery","version_end_excluding":"1.9.0"}],"cpes_truncated":false,"vendors":["jquery"],"products":["jquery/jquery"],"cat":"app","platform":"multi","eol":false,"packages":[{"advisory":"GHSA-2pqj-h3vj-pqgw","ecosystem":"Maven","name":"org.webjars.npm:jquery","purl":"pkg:maven/org.webjars.npm/jquery","ranges":[{"introduced":"0","fixed":"1.9.0"}],"versions":["1.7.2","1.7.3","1.8.2","1.8.3"]},{"advisory":"GHSA-2pqj-h3vj-pqgw","ecosystem":"NuGet","name":"jQuery","purl":"pkg:nuget/jQuery","ranges":[{"introduced":"0","fixed":"1.9.0"}],"versions":["1.4.1","1.4.2","1.4.3","1.4.4","1.5.0","1.5.1","1.5.2","1.6.0","1.6.1","1.6.2","1.6.3","1.6.4","1.7.0","1.7.1","1.7.1.1","1.7.2","1.8.0","1.8.1","1.8.2","1.8.3"]},{"advisory":"GHSA-2pqj-h3vj-pqgw","ecosystem":"RubyGems","name":"jquery-rails","purl":"pkg:gem/jquery-rails","ranges":[{"introduced":"0","fixed":"2.2.0"}],"versions":["0.1.1","0.1.2","0.1.3","0.2","0.2.1","0.2.2","0.2.3","0.2.4","0.2.5","0.2.6","0.2.7","1.0","1.0.1","1.0.10","1.0.11","1.0.12","1.0.13","1.0.14","1.0.15","1.0.16","1.0.17","1.0.18","1.0.19","1.0.2","1.0.3","1.0.4","1.0.5","1.0.6","1.0.7","1.0.8","1.0.9","1.0.rc","2.0.1","2.0.2","2.0.3","2.1.0","2.1.1","2.1.2","2.1.3","2.1.4"]},{"advisory":"GHSA-2pqj-h3vj-pqgw","ecosystem":"npm","name":"jquery","purl":"pkg:npm/jquery","ranges":[{"introduced":"0","fixed":"1.9.0"}],"versions":[]}],"severity":"medium","priority_score":52,"links":{"html_es":"/es/cve/CVE-2012-6708/","html_en":"/en/cve/CVE-2012-6708/","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2012-6708","cve_org":"https://www.cve.org/CVERecord?id=CVE-2012-6708"},"untrusted":{"vendor_name":"Jquery","product_name":"Jquery","desc_en":"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.","affected":[],"references":[{"url":"http://lists.opensuse.org/opensuse-security-announce/2020-03/msg00041.html","tags":[]},{"url":"http://packetstormsecurity.com/files/153237/RetireJS-CORS-Issue-Script-Execution.html","tags":[]},{"url":"http://packetstormsecurity.com/files/161972/Linksys-EA7500-2.0.8.194281-Cross-Site-Scripting.html","tags":[]},{"url":"http://www.securityfocus.com/bid/102792","tags":["Third Party Advisory","VDB Entry"]},{"url":"https://bugs.jquery.com/ticket/11290","tags":["Exploit","Issue Tracking","Vendor Advisory"]},{"url":"https://github.com/jquery/jquery/commit/05531fc4080ae24070930d15ae0cea7ae056457d","tags":["Patch","Third Party Advisory"]},{"url":"https://help.ecostruxureit.com/display/public/UADCE725/Security+fixes+in+StruxureWare+Data+Center+Expert+v7.6.0","tags":["Third Party Advisory"]},{"url":"https://lists.apache.org/thread.html/519eb0fd45642dcecd9ff74cb3e71c20a4753f7d82e2f07864b5108f%40%3Cdev.drill.apache.org%3E","tags":[]},{"url":"https://lists.apache.org/thread.html/b0656d359c7d40ec9f39c8cc61bca66802ef9a2a12ee199f5b0c1442%40%3Cdev.drill.apache.org%3E","tags":[]},{"url":"https://lists.apache.org/thread.html/f9bc3e55f4e28d1dcd1a69aae6d53e609a758e34d2869b4d798e13cc%40%3Cissues.drill.apache.org%3E","tags":[]},{"url":"https://snyk.io/vuln/npm:jquery:20120206","tags":["Patch","Third Party Advisory"]}]}}