CVE-2012-6708: jQuery before 1.9.0 is vulnerable to Cross-site Scripting (XSS) attacks.
Noroxi assessment
Priority: Monitor (action score 27/100)
- Public proof-of-concept code exists (Exploit-DB); there is no record of exploitation in the wild.
- Probability of exploitation in the next 30 days: 8.6% (FIRST EPSS); higher than 95.1% of all records.
- Anyone who can reach it over the internet can trigger it. No account or password is required. A user must open a link or visit a page. No special conditions are required; it is repeatable.
- Fixed version: ruby (Alpine:v3.10) 2.5.6-r0; org.webjars.npm:jquery (Maven) 1.9.0; jquery (npm) 1.9.0.
- Mentioned 3 times in Turkish national cyber security advisories (siberguvenlik.gov.tr).
Low priority for now. Upgrade to ruby (Alpine:v3.10) 2.5.6-r0; org.webjars.npm:jquery (Maven) 1.9.0; jquery (npm) 1.9.0 or later.
Generated automatically from the record's data: CVSS (NVD and CNA), CISA KEV and SSVC, FIRST EPSS, exploit sources, fixed versions. How we calculate it
Primary sources: NVD · CVE.org · FIRST EPSS
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
- Jan 18, 2018
- Updated
- Jun 16, 2026
- EPSS
- 8.6% · 95th percentile
- CWE
- CWE-79
Report tools
Action score
27
Low priority for now.
- CVSS
- 24 / 40 · 6.1 / 10
- CISA KEV
- 0 / 30 · Not listed
- EPSS
- 3 / 30 · 8.6%
Get told when this record changes
- Not in KEV: no record of exploitation in the wild
- Proof of concept exists, no weaponized module
- A fix has been released
If any of these changes, we'll tell you in the daily email digest.
Is the jQuery on your site affected?Scan JavaScript libraries
Is your version affected? Check itNoroxi analysis
What does it mean in your environment?
The assessment above is generated automatically from the record's data; it doesn't know your environment. Our team verifies on your systems whether this vulnerability is actually exploitable and which mitigation is enough.
We use this product, ask for helpAffected systems
Is your version affected?
Pick the product and type the version you run. It's compared with this record's version ranges in your browser; the version isn't sent anywhere.
| Vendor | Product | CPE |
|---|---|---|
| jquery | jquery | cpe:2.3:a:jquery:jquery |
Is the jQuery on your site affected?
The free JavaScript library scanner reads the jQuery version from the files your site loads, matches this record and other known vulnerabilities, and gives the safe version on the same branch. If the version can't be read, it says so. No account needed.
Scan JavaScript librariesAffected versions
NVD version ranges (for catalog products). Add the product to your stack with a version and matching uses these.
- jquery jquerybefore 1.9.0
Package-level exposure
OSV and GitHub Advisory data: ecosystem, package and range. SBOM matching uses this table.
| Ecosystem | Package | Affected range | Fix |
|---|---|---|---|
| Alpine:v3.10 | ruby | before 2.5.6-r0 | 2.5.6-r0 |
| Maven | org.webjars.npm:jquery | before 1.9.0 | 1.9.0 |
| npm | jquery | before 1.9.0 | 1.9.0 |
| NuGet | jQuery | before 1.9.0 | 1.9.0 |
| openSUSE:Leap 15.1 | ruby2.5 | before 2.5.7-lp151.4.6.1 | 2.5.7-lp151.4.6.1 |
| RubyGems | jquery-rails | before 2.2.0 | 2.2.0 |
| SUSE:Linux Enterprise Module for Basesystem 15 SP1 | ruby2.5 | before 2.5.7-4.8.1 | 2.5.7-4.8.1 |
Same product
jquery: all recordsOther highest-scoring records for the same primary product.
- CVE-2020-11023Potential XSS vulnerability in jQueryKEV79This week
- CVE-2020-11022jQuery has a potential XSS vulnerability54Plan
- CVE-2019-11358jQuery before 3.4.0, as used in Drupal, Backdrop CMS, and other products, mishandles jQuery.extend(true, {}, ...) because of…50Plan
Published before and after this one in the same product
- ← EarlierCVE-2011-4969Mar 8, 2013 · Cross-site scripting (XSS) vulnerability in jQuery before 1.6.3, when using location.hash to select elements, allows remote attackers to…23Monitor
- ← EarlierCVE-2014-6071Jan 16, 2018 · jQuery 1.4.2 allows remote attackers to conduct cross-site scripting (XSS) attacks via vectors related to use of the text method inside…25Monitor
- Later →CVE-2015-9251Jan 18, 2018 · jQuery before 3.0.0 is vulnerable to Cross-site Scripting (XSS) attacks when a cross-domain Ajax request is performed without the dataType…33Monitor
Remediation
Which version to upgrade to
Fix versions compiled from the vendor, package registries and Microsoft. Verify the vendor's note before upgrading.
| Product / package | Fixed version | Source |
|---|---|---|
| alpine:ruby | 2.5.6-r0 · Alpine:v3.10 | Package registry (OSV) |
| Maven:org.webjars.npm:jquery | 1.9.0 | Package registry (OSV) |
| npm:jquery | 1.9.0 | Package registry (OSV) |
| NuGet:jQuery | 1.9.0 | Package registry (OSV) |
| opensuse:ruby2.5 | 2.5.7-lp151.4.6.1 · openSUSE:Leap 15.1 | Package registry (OSV) |
| RubyGems:jquery-rails | 2.2.0 | Package registry (OSV) |
| suse:ruby2.5 | 2.5.7-4.8.1 · SUSE:Linux Enterprise Module for Basesystem 15 SP1 | Package registry (OSV) |
Exploit status
Proof of concept available
A public proof of concept or detection signature exists. Exploit knowledge is out there; don't delay patching.
Evidence
- Exploit-DB entry ×1
Noroxi does not host or link to exploit code. Metasploit module names and Nuclei template ids are shown (names, not code); Exploit-DB entries and PoC repositories are given as counts only.
| Source | Kind | Date |
|---|---|---|
| Exploit-DB entry | webapps | 2021-03-25 |
Research context
For pentesters and researchers: attack profile, score disagreement, timeline, patch commits, credits, variant and chain candidates, bug bounty scope. All derived from existing data; no exploit code.
Timeline
From publication to today: proof of concept, Metasploit module, CISA KEV and fix record. Dates are as reported by the sources.
- Published
- First PoC+1161 d
- TodayNov 17, 2026+3225 d
FIRST EPSS daily score; only changes of 0.01 or more are recorded (step chart).
Patch and commit links
Commit, PR and diff links among the references. A starting point for patch-diffing and variant hunting; fixes, not exploits.
National notice (Türkiye Cybersecurity Directorate / USOM)
Official security notices citing this record; remediation advice is on the agency's page.
- TR-21-0384 · May 5, 2021(IBM Güvenlik Bülteni Yayınladı)
- TR-21-0166 · Feb 23, 2021(IBM Güvenlik Bülteni Yayınladı)
- TR-21-0157 · Feb 22, 2021(IBM Güvenlik Bülteni Yayınladı)
Not on record for this CVE: researcher credit · variant or chain candidate · public bounty program.
Technical details
Attack conditions
- Anyone who can reach it over the internet can trigger it.
- No account or password is required.
- A user must open a link or visit a page.
- No special conditions are required; it is repeatable.
If successful
- Confidentiality
- low · data can be read
- Integrity
- low · data or configuration can be modified
- Availability
- none
Impact can extend beyond the vulnerable component (scope changes).
- Attack vector
- Network
- Attack complexity
- Low
- Privileges required
- None
- User interaction
- Required
- Scope
- Changed
- Confidentiality impact
- Low
- Integrity impact
- Low
- Availability impact
- None
Weakness class (CWE)
CWE-79 · Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')CVSS vector
CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
nvd-primary
Root cause
User content is inserted into the page as HTML. The browser interprets the content as code rather than data.
The bug in code
The whole CWE-79 classA representative example of this vulnerability class. Not the vendor's source code; it shows the faulty pattern and its fix.
Vulnerable
commentEl.innerHTML = comment.body;Fixed
commentEl.textContent = comment.body;Attack context
MITRE CAPEC attack patterns and ATT&CK techniques for this weakness class (CWE). A starting point for detection rules and threat hunting.
Attack patterns (CAPEC)
ATT&CK techniques
—
Change log (1)
- Fix✗ → ✓
For records you follow, these changes also arrive as notifications. →
References
Show all references (7 more)Show less
- www.securityfocus.com/bid/102792
- github.com/jquery/jquery/commit/05531fc4080ae24070930d15ae0cea7ae056457d
- help.ecostruxureit.com/display/public/UADCE725/Security+fixes+in+StruxureWare+Data+Center+Expert+v7.6.0
- lists.apache.org/thread.html/519eb0fd45642dcecd9ff74cb3e71c20a4753f7d82e2f07864b5108f%40%3Cdev.drill.apache.org%3E
- lists.apache.org/thread.html/b0656d359c7d40ec9f39c8cc61bca66802ef9a2a12ee199f5b0c1442%40%3Cdev.drill.apache.org%3E
- lists.apache.org/thread.html/f9bc3e55f4e28d1dcd1a69aae6d53e609a758e34d2869b4d798e13cc%40%3Cissues.drill.apache.org%3E
- snyk.io/vuln/npm:jquery:20120206
Vendor advisories and official records. Exploit/PoC links are deliberately left out.