# Potential XSS vulnerability in jQuery

Advisory record · `GHSA-gxr4-xjj5-5px2`

- **Identifiers:** `GHSA-gxr4-xjj5-5px2` · `BIT-drupal-2020-11022` · `CVE-2020-11022` · `PKSA-dyrx-jq7h-gtxg` · `PKSA-jvpv-pcrn-dfzc` · `PKSA-t65n-1nj2-4tnr`
- **State:** Confirmed
- **Severity:** CVSS 6.9 Medium
- **Critical:** No
- **Weakness (CWE):** [CWE-79](https://cwe.mitre.org/data/definitions/79.html)
- **Tags:** [Cross-site scripting (XSS)](https://agentprime.io/advisories/tag/xss.md)
- **Published:** 29 Apr 2020
- **Updated:** 10 Sept 2026
- **Reviewed by a person:** No

Published by the GitHub Advisory Database at 29 Apr 2020, 22:18 UTC. agentprime has not analysed this yet, so whether it affects any app is not known.

## Affected packages

- `jquery` (npm): affected `>=1.12.0, <3.5.0`; fixed in `3.5.0`
- `jquery` (NuGet): affected `>=1.12.0, <3.5.0`; fixed in `3.5.0`
- `jquery-rails` (RubyGems): affected `<4.4.0`; fixed in `4.4.0`
- `org.webjars.npm:jquery` (Maven): affected `>=1.12.0, <3.5.0`; fixed in `3.5.0`
- `maximebf/debugbar` (Packagist): affected `<1.19.0`; fixed in `1.19.0`
- `athlon1600/youtube-downloader` (Packagist): affected `<4.0.1`; fixed in `4.0.1`
- `components/jquery` (Packagist): affected `>=1.12.0, <3.5.0`; fixed in `3.5.0`

## Not analysed yet

We haven’t published our analysis of this Advisory yet. Once a person has reviewed it, this page will say what’s vulnerable, what has to be true for your app to be affected, and how to check.

## Severity and exploitation

- 6.9 Medium, CVSS 3.1: `CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:C/C:H/I:L/A:N`, from CNA (GitHub_M)

- **CISA KEV:** Not listed.
- **EPSS:** 0.99, the 99th percentile, on 9 Nov 2026: FIRST’s estimate of the chance of exploitation in the next 30 days.

## Timeline

- 29 Apr 2020, 00:00 UTC: [Confirmed by the CVE List](https://www.cve.org/CVERecord?id=CVE-2020-11022)
- 29 Apr 2020, 19:44 UTC: [Published by the maintainers as a GitHub repository advisory](https://github.com/jquery/jquery/security/advisories/GHSA-gxr4-xjj5-5px2)
- 29 Apr 2020, 22:15 UTC: [Confirmed by NVD](https://nvd.nist.gov/vuln/detail/CVE-2020-11022)

## Sources

- [GitHub Advisory Database: GHSA-gxr4-xjj5-5px2](https://github.com/advisories/GHSA-gxr4-xjj5-5px2)
- [OSV: GHSA-gxr4-xjj5-5px2](https://osv.dev/vulnerability/GHSA-gxr4-xjj5-5px2)
- <https://github.com/jquery/jquery/security/advisories/GHSA-gxr4-xjj5-5px2>
- <https://nvd.nist.gov/vuln/detail/CVE-2020-11022>
- <https://github.com/maximebf/php-debugbar/issues/447>
- <https://github.com/jquery/jquery/commit/1d61fd9407e6fbe82fe55cb0b938307aa0791f77>
- <https://github.com/maximebf/php-debugbar/commit/847216e60544258c881f2733d699bbcfeefac0fc>
- <https://blog.jquery.com/2020/04/10/jquery-3-5-0-released>
- <https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/VOE7P7APPRQKD4FGNHBKJPDY6FFCOH3W>
- <https://lists.opensuse.org/opensuse-security-announce/2020-07/msg00067.html>
- <https://lists.opensuse.org/opensuse-security-announce/2020-07/msg00085.html>
- <https://lists.opensuse.org/opensuse-security-announce/2020-11/msg00039.html>
- <https://packetstormsecurity.com/files/162159/jQuery-1.2-Cross-Site-Scripting.html>
- <https://security.gentoo.org/glsa/202007-03>

Facts on this page come from the GitHub Advisory Database (CC-BY 4.0), OSV and the other sources listed, as published. We don’t reproduce full advisory descriptions, which can contain exploit code.

## Check whether this affects you

A Match means an installed version is in the affected range above. Most don’t affect the app; agentprime hasn’t analysed this one yet.

- With the agentprime MCP server (<https://api.agentprime.io/mcp>), ask your agent to check the project: `check_lockfile` sends a lockfile, `check_packages` a list of installed packages, and both return the Matches and the upgrades that clear them. `get_advisory` returns this record. Setup: <https://agentprime.io/mcp.md>
- In a browser: <https://agentprime.io/check/> reads your lockfile in the browser, never uploading it.
- Whether it touches your code, with file and line: the Claude Code plugin, <https://agentprime.io/plugin.md>
- As JSON: <https://api.agentprime.io/v1/advisories/GHSA-gxr4-xjj5-5px2>, or `POST https://api.agentprime.io/v1/match` with your packages (<https://agentprime.io/api.md>)

---

The web page: <https://agentprime.io/advisories/GHSA-gxr4-xjj5-5px2/>. Everything for agents: <https://agentprime.io/llms.txt>.
