CVE-2012-6708
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, jQue...
Public exploit available. Not confirmed exploited in the wild yet. A vendor fix is available.
What to do
The vendor has published a fix. Version details are below where the sources state them.
Steps
Written by AI from the record- Check everywhere your web app includes jQuery (including packaged versions like
jquery-railsand JavaScript bundles) and confirm the version is at least 1.9.0 (or jquery-rails 2.2.0 if you use that). - Identify if any code passes user-entered text into the main jQuery function (the pattern is “use
$(...)/jQuery(...)where the argument comes from browser input”). - Update jQuery to 1.9.0 or later (and update
jquery-railsto 2.2.0 or later if applicable). - Retest the affected pages/forms to confirm your input is no longer executed as script or HTML when rendered on a visitor’s browser.
What it is
From the CVE record
This CSAF advisory was extracted from unstructured data and may contain inaccuracies. If you notice any errors, please reach out to the designated contact at CISA CSAF: central@cisa.dhs.gov
In plain language
Written by AI from the recordIf your software uses an old jQuery (before 1.9.0), an attacker can trick someone to visit a page that runs malicious JavaScript in the victim’s browser; a typical small business should check and update if your site/app uses jQuery with user-entered text.
jQuery before 1.9.0 is vulnerable to Cross-site Scripting (XSS) because the `jQuery(strInput)` behavior does not reliably treat text as a selector vs HTML, so untrusted input can be interpreted in a way that lets attackers run unauthorized scripts in a visitor’s browser (authentication not required, but user interaction is required).
If you're affected
- Stolen session or login tokens
- Website content tampering
- Customer data exposure
- Reputation and trust damage
Exploitation
Where each signal puts this CVE on the scale from published to confirmed exploited.
- CISA KEV
Not in the catalog. CISA has not confirmed exploitation.
- Public exploits
5 sources with a proof of concept or module.
Exploit links, PoCs and Metasploit modules after sign-in- EPSS
8.6% chance of exploitation activity in the next 30 days, which ranks it in the 95th percentile of scored CVEs.
Exploit Prediction Scoring System, FIRST.org. A probability, not a confirmation.
- Attention now
Rising.
Real risk signals with little public attention so far.
Lifecycle
The patch came 471 days before any public exploit.
- EPSS band changemoderate → lowepss band change
- EPSS band changelow → moderateepss band change
- EPSS band changemoderate → 0epss band change
- EPSS band change0 → moderateepss band change
- EPSS band changemoderate → 0epss band change
- EPSS band changelow → moderate
Affected products
And 5 more affected products. See all after sign-in
Technical detail
CVSS 3.0 vector
Open in the CVSS calculatorCVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
Scored 6.1 by NVD.
How it is reached
- Attack Vector NetworkExploitable remotely over the network without any special conditions
- Attack Complexity LowNo special conditions — the attack can be reliably reproduced
- Privileges Required NoneNo authentication required — anyone can exploit this
- User Interaction RequiredA user must click a link, open a file, or perform some action
Scope
- Scope ChangedThe exploit can affect other components (e.g. sandbox escape, host compromise from VM)
Impact if exploited
- Confidentiality LowSome restricted information is disclosed, but limited in scope
- Integrity LowData modification is possible but limited in scope or consequence
- Availability NoneNo availability impact
Weaknesses
ATT&CK techniques
Mapped from the weaknesses above (CWE to ATT&CK), not observed in attacks.
Sources
References in the record
- raw.githubusercontent.com/cisagov/CSAF/develop/csaf_files/OT/white/2022/icsa-22-097-01.json
- cisa.gov/news-events/ics-advisories/icsa-22-097-01
- cisa.gov/uscert/ncas/tips/ST04-014
And 68 more references. See all after sign-in
Watch the software you run.
My Stack ranks new CVEs for your products by real-world exploitation, so the next serious one reaches you without reading every advisory.
We'll flag the next CVE, public exploit or patch for Jquery, not every advisory. This one: public exploit.
A free account adds
- The full version matrix and every affected product
- Exploit links, proofs of concept and Metasploit modules
- Email alerts for the products you watch
- The same data over REST API, MCP and CLI