Skip to content
Noroxi
CVE-2012-6708· NVD / CVE Program· CNA mitre

jQuery before 1.9.0 is vulnerable to Cross-site Scripting (XSS) attacks.

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.

MediumCVSS 6.1 · v3.0—Proof of concept Fix available
Published
Jan 18, 2018
Updated
Jun 16, 2026
EPSS
8.6% · 95th percentile
Follow this CVE

Sign in to follow · You’ll be notified if a followed record enters KEV, gets an exploit or is updated.

Report tools

JSON

Action score

27

Monitor

Low priority for now.

CVSS
24 / 40 · 6.1 / 10
CISA KEV
0 / 30 · Not listed
EPSS
3 / 30 · 8.6%

Affected systems

VendorProduct
jqueryjquery

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

EcosystemPackageAffected rangeFix
Alpine:v3.10rubybefore 2.5.6-r02.5.6-r0
Mavenorg.webjars.npm:jquerybefore 1.9.01.9.0
Mavenorg.webjars.npm:jquerybefore 1.9.01.9.0
Mavenorg.webjars.npm:jquerybefore 1.9.01.9.0
npmjquerybefore 1.9.01.9.0
npmjquerybefore 1.9.01.9.0
npmjquerybefore 1.9.01.9.0
npmjquerybefore 1.9.01.9.0
NuGetjQuerybefore 1.9.01.9.0
openSUSE:Leap 15.1ruby2.5before 2.5.7-lp151.4.6.12.5.7-lp151.4.6.1
RubyGemsjquery-railsbefore 2.2.02.2.0
RubyGemsjquery-railsbefore 2.2.02.2.0
SUSE:Linux Enterprise Module for Basesystem 15 SP1ruby2.5before 2.5.7-4.8.12.5.7-4.8.1

Other highest-scoring records for the same primary product.

  • CVE-2020-11023Potential XSS vulnerability in jQueryKEV
    79This week
  • CVE-2020-11022jQuery has a potential XSS vulnerability
    54Plan
  • CVE-2019-11358jQuery before 3.4.0, as used in Drupal, Backdrop CMS, and other products, mishandles jQuery.extend(true, {}, ...) because of Object.prototyp
    50Plan
  • CVE-2015-9251jQuery before 3.0.0 is vulnerable to Cross-site Scripting (XSS) attacks when a cross-domain Ajax request is performed without the dataType o
    33Monitor
  • CVE-2016-10707jQuery 3.0.0-rc.1 is vulnerable to Denial of Service (DoS) due to removing a logic that lowercased attribute names.
    31Monitor
  • CVE-2020-7656jquery prior to 1.9.0 allows Cross-site Scripting attacks via the load method.
    26Monitor

Remediation

Which version to upgrade to

Fix versions compiled from the vendor, package registries and Microsoft. Verify the vendor's note before upgrading.

Product / packageFixed versionSource
alpine:ruby2.5.6-r0 · Alpine:v3.10Package registry (OSV)
Maven:org.webjars.npm:jquery1.9.0Package registry (OSV)
npm:jquery1.9.0Package registry (OSV)
NuGet:jQuery1.9.0Package registry (OSV)
opensuse:ruby2.52.5.7-lp151.4.6.1 · openSUSE:Leap 15.1Package registry (OSV)
RubyGems:jquery-rails2.2.0Package registry (OSV)
suse:ruby2.52.5.7-4.8.1 · SUSE:Linux Enterprise Module for Basesystem 15 SP1Package 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.

Public exploit evidence
SourceKindDate
Exploit-DB entrywebapps2021-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.

  1. Published
  2. First PoC+1161 d
  3. TodaySep 30, 2026+3177 d
EPSS, last 120 days

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.

Finders, reporters and analysts named in the CNA record. Click a name for that researcher’s other records.

No credits in the CNA record.

Variant candidates

Same product, same weakness class, within 18 months. If the patch missed the root cause, the sibling bug is here.

No nightly-computed relations.

Chain candidates

An authentication bypass and a privilege-requiring bug in the same product, published close together: combined they may become an unauthenticated path.

—

Bug bounty scope

No known public program.

Source: bounty-targets-data (public HackerOne, Bugcrowd, Intigriti, YesWeHack listings).

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

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.

A representative example of this vulnerability class. Not the vendor's source code; it shows the faulty pattern and its fix.

Vulnerable

ts
commentEl.innerHTML = comment.body;

Fixed

ts
commentEl.textContent = comment.body;

Noroxi analysis

No Noroxi analysis for this record yet

We don't hand-write analysis for all 385,000+ vulnerabilities; that wouldn't be honest. For notable, high-impact vulnerabilities our team writes the mechanism, detection and remediation steps.

We use this product, ask for help

Change log

  1. Fix✗ → ✓

For records you follow, these changes also arrive as notifications. →

References

All records