Vulnerabilities in pkg:nuget/jQuery
PACKAGECVE-2011-4969 is a MODERATE cross-site scripting vulnerability (CWE-79: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')) affecting Jquery libraries in the npm ecosystem. The issue involves jquery vulnerable to cross-site scripting (xss). Remediation is available by upgrading affected packages to version 1.6.3, 1.0.16.
pkg:nuget/jQuery
Vulnerability advisories affecting package pkg:nuget/jQuery. Select an advisory below to view technical details or fixes.
| Advisory ID | CVE / NVD | Severity | Summary |
|---|---|---|---|
| GHSA-579v-mp3v-rrw5 | CVE-2011-4969 | MODERATE | jQuery vulnerable to Cross-Site Scripting (XSS) |
| GHSA-jpcq-cgw6-v4j6 | CVE-2020-11023 | MODERATE | Potential XSS vulnerability in jQuery |
| GHSA-mhpp-875w-9cpv | CVE-2016-10707 | HIGH | Denial of Service in jquery |
| GHSA-6c3j-c64m-qhgq | CVE-2019-11358 | MODERATE | XSS in jQuery as used in Drupal, Backdrop CMS, and other products |
| GHSA-q4m3-2j7h-f7xw | CVE-2020-7656 | MODERATE | Cross-Site Scripting in jquery |
| GHSA-257q-pv89-v3xv | CVE-2020-23064 | MODERATE | Duplicate Advisory: jQuery Cross Site Scripting vulnerability |
| GHSA-2pqj-h3vj-pqgw | CVE-2012-6708 | MODERATE | Cross-Site Scripting in jquery |
| GHSA-rmxg-73gg-4p98 | CVE-2015-9251 | MODERATE | Cross-Site Scripting (XSS) in jquery |
CVE-2011-4969 at a Glance
How to Fix CVE-2011-4969
To remediate this vulnerability, upgrade all affected Jquery dependencies to a patched release. Both direct and transitive dependencies should be checked, as frameworks or security libraries may pull in vulnerable versions transitively.
npm install jquery@1.6.3
Upgrade jQuery to 1.6.3
Upgrade jquery-rails to 1.0.16
<dependency>
<groupId>org.webjars.npm</groupId>
<artifactId>jquery</artifactId>
<version>1.6.3</version>
</dependency>
Run the following command in your project directory to verify that all resolved dependencies use the patched release:
npm ls jquery
How to Check if You Are Affected
To determine whether your Node.js application is affected by CVE-2011-4969, inspect your project dependencies using npm:
npm ls jquery
Analyze the terminal output to locate any version of Jquery in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 1.6.3), your application is affected.
Note: The npm ls jquery command inspects dependencies declared in your package.json and lockfile; it does not perform automated runtime dynamic scanning.
Technical Details
Vulnerability Mechanism & Technical Analysis
This vulnerability is classified under CWE-79: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting'), where the product does not neutralize or incorrectly neutralizes user-controllable input before it is placed in output that is used as a web page that is served to other users. In Jquery, software state validation or input boundaries are circumvented during processing. Review the official source advisory statement below for specific affected components, classes, and reproduction details.
Source Advisory Statement
CVE-2011-4969 Affected Jquery Versions
4 component(s)| Product / Package | Ecosystem | Affected Versions | Fixed Version |
|---|---|---|---|
|
jquery
|
npm |
< 1.6.3
|
1.6.3
|
|
jQuery
|
NuGet |
< 1.6.3
|
1.6.3
|
|
jquery-rails
|
RubyGems |
< 1.0.16
|
1.0.16
|
|
org.webjars.npm:jquery
|
Maven |
< 1.6.3
|
1.6.3
|
References
Frequently Asked Questions
What is CVE-2011-4969?
Which Jquery versions are affected?
What version fixes CVE-2011-4969?
Is jquery affected?
Is jQuery affected?
What CWE is associated with CVE-2011-4969?
How can I check npm dependencies for CVE-2011-4969?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"schema_version" : "1.4.0",
"id" : "GHSA-579v-mp3v-rrw5",
"modified" : "2026-01-14T21:43:52Z",
"published" : "2022-05-14T01:09:51Z",
"aliases" : [ "CVE-2011-4969" ],
"summary" : "jQuery vulnerable to Cross-Site Scripting (XSS)",
"details" : "Cross-site scripting (XSS) vulnerability in jQuery before 1.6.3, when using location.hash to select elements, allows remote attackers to inject arbitrary web script or HTML via a crafted tag.",
"severity" : [ ],
"affected" : [ {
"package" : {
"ecosystem" : "npm",
"name" : "jquery"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "0"
}, {
"fixed" : "1.6.3"
} ]
} ]
}, {
"package" : {
"ecosystem" : "NuGet",
"name" : "jQuery"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "0"
}, {
"fixed" : "1.6.3"
} ]
} ]
}, {
"package" : {
"ecosystem" : "RubyGems",
"name" : "jquery-rails"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "0"
}, {
"fixed" : "1.0.16"
} ]
} ]
}, {
"package" : {
"ecosystem" : "Maven",
"name" : "org.webjars.npm:jquery"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "0"
}, {
"fixed" : "1.6.3"
} ]
} ]
} ],
"references" : [ {
"type" : "ADVISORY",
"url" : "https://nvd.nist.gov/vuln/detail/CVE-2011-4969"
}, {
"type" : "WEB",
"url" : "https://github.com/jquery/jquery/commit/db9e023e62c1ff5d8f21ed9868ab6878da2005e9"
}, {
"type" : "PACKAGE",
"url" : "https://github.com/jquery/jquery"
}, {
"type" : "WEB",
"url" : "https://github.com/rubysec/ruby-advisory-db/blob/master/gems/jquery-rails/CVE-2011-4969.yml"
}, {
"type" : "WEB",
"url" : "https://lists.apache.org/thread.html/ff8dcfe29377088ab655fda9d585dccd5b1f07fabd94ae84fd60a7f8@%3Ccommits.pulsar.apache.org%3E"
}, {
"type" : "WEB",
"url" : "https://security.netapp.com/advisory/ntap-20190416-0007"
}, {
"type" : "WEB",
"url" : "https://security.snyk.io/vuln/SNYK-DOTNET-JQUERY-450224"
}, {
"type" : "WEB",
"url" : "http://blog.jquery.com/2011/09/01/jquery-1-6-3-released"
}, {
"type" : "WEB",
"url" : "http://blog.mindedsecurity.com/2011/07/jquery-is-sink.html"
}, {
"type" : "WEB",
"url" : "http://bugs.jquery.com/ticket/9521"
}, {
"type" : "WEB",
"url" : "http://www.openwall.com/lists/oss-security/2013/01/31/3"
}, {
"type" : "WEB",
"url" : "http://www.ubuntu.com/usn/USN-1722-1"
} ],
"database_specific" : {
"cwe_ids" : [ "CWE-79" ],
"severity" : "MODERATE",
"github_reviewed" : true,
"github_reviewed_at" : "2022-09-12T14:46:34Z",
"nvd_published_at" : "2013-03-08T22:55:00Z"
}
}