CVE Tools

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.

Published Updated Sources: CVE.org, NVD, GitHub, BDU, CSAF

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
  1. Check everywhere your web app includes jQuery (including packaged versions like jquery-rails and JavaScript bundles) and confirm the version is at least 1.9.0 (or jquery-rails 2.2.0 if you use that).
  2. 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”).
  3. Update jQuery to 1.9.0 or later (and update jquery-rails to 2.2.0 or later if applicable).
  4. 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 record

If 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.

EPSS95th
Public exploit
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.

  1. EPSS band changemoderate → lowepss band change
  2. EPSS band changelow → moderateepss band change
  3. EPSS band changemoderate → 0epss band change
  4. EPSS band change0 → moderateepss band change
  5. EPSS band changemoderate → 0epss band change
  6. EPSS band changelow → moderate

Affected products

Technical detail

CVSS: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

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.

We use analytics cookies to see which pages and articles actually help people. Decline and none of them run — the site works the same. What we store