{"id":"CVE-2012-6708","published":"2018-01-18T23:00:00Z","modified":"2024-08-06T21:36:02Z","title":"jQuery before 1.9.0 is vulnerable to Cross-site Scripting (XSS) attacks","vendor":null,"product":null,"tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":null,"epss":{"score":0.08632,"percentile":0.95085,"provenance":"source"},"cwes":[],"references":[{"url":"https://snyk.io/vuln/npm:jquery:20120206","tags":["x_refsource_MISC"]},{"url":"https://bugs.jquery.com/ticket/11290","tags":["x_refsource_MISC"]},{"url":"https://github.com/jquery/jquery/commit/05531fc4080ae24070930d15ae0cea7ae056457d","tags":["x_refsource_MISC"]},{"url":"https://help.ecostruxureit.com/display/public/UADCE725/Security+fixes+in+StruxureWare+Data+Center+Expert+v7.6.0","tags":["x_refsource_CONFIRM"]},{"url":"http://www.securityfocus.com/bid/102792","tags":["vdb-entry","x_refsource_BID"]},{"url":"http://packetstormsecurity.com/files/153237/RetireJS-CORS-Issue-Script-Execution.html","tags":["x_refsource_MISC"]},{"url":"https://lists.apache.org/thread.html/b0656d359c7d40ec9f39c8cc61bca66802ef9a2a12ee199f5b0c1442%40%3Cdev.drill.apache.org%3E","tags":["mailing-list","x_refsource_MLIST"]},{"url":"https://lists.apache.org/thread.html/519eb0fd45642dcecd9ff74cb3e71c20a4753f7d82e2f07864b5108f%40%3Cdev.drill.apache.org%3E","tags":["mailing-list","x_refsource_MLIST"]},{"url":"https://lists.apache.org/thread.html/f9bc3e55f4e28d1dcd1a69aae6d53e609a758e34d2869b4d798e13cc%40%3Cissues.drill.apache.org%3E","tags":["mailing-list","x_refsource_MLIST"]},{"url":"http://lists.opensuse.org/opensuse-security-announce/2020-03/msg00041.html","tags":["vendor-advisory","x_refsource_SUSE"]},{"url":"http://packetstormsecurity.com/files/161972/Linksys-EA7500-2.0.8.194281-Cross-Site-Scripting.html","tags":["x_refsource_MISC"]}],"priority":{"score":24.0,"factors":[{"name":"EPSS percentile","points":19.02},{"name":"Public exploit code","points":5.0}]},"exploitSources":{"exploitdb":{"count":1,"earliest":"2021-03-25"},"first":{"date":"2021-03-25","source":"Exploit-DB","url":"https://www.exploit-db.com/exploits/49708"},"provenance":"source"},"affected":[{"ecosystem":"npm","package":"jquery","vulnerableRanges":["<1.9.0"],"patched":["1.9.0"],"from":["GHSA-2pqj-h3vj-pqgw"],"provenance":"source"},{"ecosystem":"Maven","package":"org.webjars.npm:jquery","vulnerableRanges":["<1.9.0"],"patched":["1.9.0"],"from":["GHSA-2pqj-h3vj-pqgw"],"provenance":"source"},{"ecosystem":"NuGet","package":"jQuery","vulnerableRanges":["<1.9.0"],"patched":["1.9.0"],"from":["GHSA-2pqj-h3vj-pqgw"],"provenance":"source"},{"ecosystem":"RubyGems","package":"jquery-rails","vulnerableRanges":["<2.2.0"],"patched":["2.2.0"],"from":["GHSA-2pqj-h3vj-pqgw"],"provenance":"source"}],"euvd":{"id":"EUVD-2020-0684","exploited":false,"provenance":"source"},"exploits":[{"id":49708,"url":"https://www.exploit-db.com/exploits/49708","title":"Linksys EA7500 2.0.8.194281 - Cross-Site Scripting","date":"2021-03-25","verified":false,"provenance":"source"}],"exploitRefs":["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"],"lineage":{"familyId":"fam-jquery-cve-2012-6708","children":[{"from":"CVE-2012-6708","to":"CVE-2019-11358","relation":"related","confidence":"medium","kind":"lineage","evidence":[{"kind":"same-code","provenance":"machine","files":["src/core.js"],"commits":["https://github.com/jquery/jquery/commit/05531fc4080ae24070930d15ae0cea7ae056457d","https://github.com/jquery/jquery/commit/753d591aea698e57d6db58c9f722cd0808619b1b"],"basis":"rarely changed file"}]}],"packageHistory":[{"cve":"CVE-2011-4969","published":"2013-03-08","fixed":"1.6.3","kev":false},{"cve":"CVE-2012-6708","published":"2018-01-18","fixed":"1.9.0","kev":false},{"cve":"CVE-2020-7656","published":"2020-05-19","fixed":"1.9.0","kev":false},{"cve":"CVE-2015-9251","published":"2018-01-18","fixed":"3.0.0","kev":false,"link":{"from":"CVE-2012-6708","to":"CVE-2015-9251","relation":"successor","confidence":"low","kind":"sequence","orderedBy":"description","evidence":[{"kind":"version-step","provenance":"source","package":"npm:jquery","fromFixed":"1.9.0","toFixed":"1.12.2","daysApart":0},{"kind":"version-step","provenance":"source","package":"NuGet:jQuery","fromFixed":"1.9.0","toFixed":"1.12.2","daysApart":0}]}},{"cve":"CVE-2016-10707","published":"2018-01-18","fixed":"3.0.0","kev":false}],"package":"npm:jquery"}}