`, which results in the enclosed script logic to be executed. This allows attackers to execute arbitrary JavaScript in a victim's browser.\n\n\n## Recommendation\n\nUpgrade to version 1.9.0 or later.","datePublished":"2020-05-20T16:18:01Z","dateModified":"2026-07-08T06:49:51.784220278Z","url":"https://o3.security/vulnerability/GHSA-q4m3-2j7h-f7xw","inLanguage":"en","author":{"@id":"https://o3.security/#organization"},"publisher":{"@id":"https://o3.security/#organization"},"mainEntityOfPage":{"@type":"WebPage","@id":"https://o3.security/vulnerability/GHSA-q4m3-2j7h-f7xw"},"speakable":{"@type":"SpeakableSpecification","cssSelector":["h1",".vuln-summary",".vuln-severity",".vuln-mitigation"]},"about":[{"@type":"SoftwareApplication","name":"org.webjars.npm:jquery","applicationCategory":"Maven","softwareVersion":"1.9.0"},{"@type":"SoftwareApplication","name":"jquery","applicationCategory":"npm","softwareVersion":"1.9.0"},{"@type":"SoftwareApplication","name":"jQuery","applicationCategory":"NuGet","softwareVersion":"1.9.0"},{"@type":"SoftwareApplication","name":"jquery-rails","applicationCategory":"RubyGems","softwareVersion":"2.2.0"}],"citation":[{"@type":"WebPage","url":"https://nvd.nist.gov/vuln/detail/CVE-2020-7656"},{"@type":"WebPage","url":"https://github.com/jquery/jquery/commit/05531fc4080ae24070930d15ae0cea7ae056457d"},{"@type":"WebPage","url":"https://github.com/jquery/jquery/commit/606b863edaff29035960e4d813b45d63b8d92876"},{"@type":"WebPage","url":"https://github.com/jquery/jquery/blob/9e6393b0bcb52b15313f88141d0bd7dd54227426/src/ajax.js#L203"},{"@type":"WebPage","url":"https://github.com/rails/jquery-rails/blob/master/CHANGELOG.md#220-19-january-2013"},{"@type":"WebPage","url":"https://github.com/rails/jquery-rails/blob/v2.1.4/vendor/assets/javascripts/jquery.js#L7481"},{"@type":"WebPage","url":"https://github.com/rubysec/ruby-advisory-db/blob/master/gems/jquery-rails/CVE-2020-7656.yml"},{"@type":"WebPage","url":"https://security.netapp.com/advisory/ntap-20200528-0001"},{"@type":"WebPage","url":"https://snyk.io/vuln/SNYK-JS-JQUERY-569619"},{"@type":"WebPage","url":"https://supportportal.juniper.net/s/article/2021-07-Security-Bulletin-Junos-OS-Multiple-J-Web-vulnerabilities-resolved-in-Junos-OS-21-2R1?language=en_US"}]}`, which results in the enclosed script logic to be executed. This allows attackers to execute arbitrary JavaScript in a victim's browser.\n\n\n## Recommendation\n\nUpgrade to version 1.9.0 or later.","url":"https://o3.security/vulnerability/GHSA-q4m3-2j7h-f7xw","identifier":"GHSA-q4m3-2j7h-f7xw","datePublished":"2020-05-20T16:18:01Z","dateModified":"2026-07-08T06:49:51.784220278Z","inLanguage":"en","keywords":["GHSA-q4m3-2j7h-f7xw","MEDIUM severity","CWE-79","CVE","vulnerability","security advisory"],"creator":{"@id":"https://o3.security/#organization"},"isAccessibleForFree":true,"variableMeasured":[{"@type":"PropertyValue","name":"CVSS Base Score","value":6.1,"description":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N"},{"@type":"PropertyValue","name":"Severity","value":"MEDIUM"}]}`, which results in the enclosed script logic to be executed. This allows attackers to execute arbitrary JavaScript in a victim's browser.\n\n\n## Recommendation\n\nUpgrade to version 1.9.0 or later."}},{"@type":"Question","name":"How severe is GHSA-q4m3-2j7h-f7xw?","acceptedAnswer":{"@type":"Answer","text":"GHSA-q4m3-2j7h-f7xw has a CVSS score of 6.1/10, rated MEDIUM. Review your exposure and patch according to your risk tolerance."}},{"@type":"Question","name":"Which packages are affected by GHSA-q4m3-2j7h-f7xw?","acceptedAnswer":{"@type":"Answer","text":"GHSA-q4m3-2j7h-f7xw affects the following packages: org.webjars.npm:jquery (Maven), jquery (npm), jQuery (NuGet), jquery-rails (RubyGems). Ecosystems affected: Maven, npm, NuGet, RubyGems."}},{"@type":"Question","name":"How do I fix GHSA-q4m3-2j7h-f7xw?","acceptedAnswer":{"@type":"Answer","text":"Update org.webjars.npm:jquery to 1.9.0 or later, then make sure no transitive (indirect) dependency still pins the vulnerable range — O3 confirms GHSA-q4m3-2j7h-f7xw is resolved across your whole dependency graph."}},{"@type":"Question","name":"How do I detect GHSA-q4m3-2j7h-f7xw in my Maven, npm, NuGet, RubyGems dependencies?","acceptedAnswer":{"@type":"Answer","text":"Scan your dependency tree (package-lock.json, pnpm-lock.yaml, requirements.txt, go.sum, etc.) for org.webjars.npm:jquery. O3's reachability analysis confirms whether the vulnerable code path is actually invoked in your application, so you act on real exposure instead of every transitive match."}},{"@type":"Question","name":"How do I mitigate GHSA-q4m3-2j7h-f7xw if there is no patch (or I can't update yet)?","acceptedAnswer":{"@type":"Answer","text":"If you can't upgrade right away: gate or disable the affected feature, validate untrusted input at the boundary, and avoid passing attacker-controlled data into the vulnerable path. O3's runtime protection blocks exploitation in production as an interim safeguard until the upgrade lands."}},{"@type":"Question","name":"How does O3 Security protect against GHSA-q4m3-2j7h-f7xw?","acceptedAnswer":{"@type":"Answer","text":"O3 pinpoints whether GHSA-q4m3-2j7h-f7xw is reachable in your code and exactly where to fix it, then blocks exploitation in production at runtime until the patched version is deployed."}},{"@type":"Question","name":"Is GHSA-q4m3-2j7h-f7xw actively exploited in the wild?","acceptedAnswer":{"@type":"Answer","text":"Yes. There are 2 known exploit references for GHSA-q4m3-2j7h-f7xw, including 1 documented proof-of-concept exploit on Exploit-DB and 1 in-the-wild exploitation observed on GitHub and other sources. Treat this as actively exploitable and prioritize patching immediately. All exploit code should only be run in an isolated sandbox environment for research or authorized testing — never against production systems without explicit written authorization."}},{"@type":"Question","name":"What type of vulnerability is GHSA-q4m3-2j7h-f7xw?","acceptedAnswer":{"@type":"Answer","text":"GHSA-q4m3-2j7h-f7xw is classified as Cross-site Scripting (XSS) (CWE-79). This weakness type describe the underlying flaw category, which helps determine the potential impact and the right class of mitigation. This is a high-impact weakness class that often enables remote code execution or data exposure."}},{"@type":"Question","name":"When was GHSA-q4m3-2j7h-f7xw published, and has it been updated?","acceptedAnswer":{"@type":"Answer","text":"GHSA-q4m3-2j7h-f7xw was published on May 20, 2020 and was last updated on July 8, 2026. Advisory data evolves as severity scores, affected ranges, and exploit intelligence are revised — always check the latest version of the advisory before acting."}}]}
Your RSA-2048 keys break in 2030. Find every one of them before attackers do.
Maven📦 npm.NET NuGet💎 RubyGems

GHSA-q4m3-2j7h-f7xw

MEDIUM

Cross-Site Scripting in jquery

Also known asCVE-2020-7656SNYK-JS-JQUERY-569619
Published
May 20, 2020
Updated
Jul 8, 2026
Affected
4 pkgs
Patched
4 / 4
Exploits
2 known

Blast Radius

4 pkgs affected
org.webjars.npm:jquery📦jquery.NETjQuery💎jquery-rails

Real-time download stats are indexed for npm and PyPI packages. This vulnerability affects Maven, npm, NuGet packages — download data is not available via public APIs for these ecosystems.

Description

Versions of jquery prior to 1.9.0 are vulnerable to Cross-Site Scripting. The load method fails to recognize and remove <script> HTML tags that contain a whitespace character, i.e: </script >, which results in the enclosed script logic to be executed. This allows attackers to execute arbitrary JavaScript in a victim's browser.

Recommendation

Upgrade to version 1.9.0 or later.

Affected Packages

4 total 4 fixed
EcosystemPackageVulnerable rangeFix
Mavenorg.webjars.npm:jquery1.2.1&&< 1.9.01.9.0
📦npmjquery1.2.1&&< 1.9.01.9.0
.NETNuGetjQuery1.2.1&&< 1.9.01.9.0
💎RubyGemsjquery-railsall versions2.2.0
Exploits & PoCs
2

Research use only. For defensive security, authorized penetration testing, and academic research only. Never execute exploit code against systems without explicit written authorization.

EDB-52141webappsmultiple

jQuery 3.3.1 - Prototype Pollution & XSS Exploit

by xOryus · Apr 8, 2025

Detection & mitigation playbook

Open-source dependency
  1. Detect

    Scan your dependency tree (package-lock.json, pnpm-lock.yaml, requirements.txt, go.sum, etc.) for org.webjars.npm:jquery. O3's reachability analysis confirms whether the vulnerable code path is actually invoked in your application, so you act on real exposure instead of every transitive match.

  2. Fix

    Update org.webjars.npm:jquery to 1.9.0 or later, then make sure no transitive (indirect) dependency still pins the vulnerable range — O3 confirms GHSA-q4m3-2j7h-f7xw is resolved across your whole dependency graph.

  3. Workarounds

    If you can't upgrade right away: gate or disable the affected feature, validate untrusted input at the boundary, and avoid passing attacker-controlled data into the vulnerable path. O3's runtime protection blocks exploitation in production as an interim safeguard until the upgrade lands.

  4. How O3 protects you

    O3 pinpoints whether GHSA-q4m3-2j7h-f7xw is reachable in your code and exactly where to fix it, then blocks exploitation in production at runtime until the patched version is deployed.

Tailored to GHSA-q4m3-2j7h-f7xw. Runtime protection reduces exposure until a permanent patch is applied and verified — it complements patching, it doesn't replace it.

Frequently Asked Questions

Versions of `jquery` prior to 1.9.0 are vulnerable to Cross-Site Scripting. The load method fails to recognize and remove `<script>` HTML tags that contain a whitespace character, i.e: `</script >`, which results in the enclosed script logic to be executed. This allows attackers to execute arbitrary JavaScript in a victim's browser. ## Recommendation Upgrade to version 1.9.0 or later.
O3 Security · Impact-Aware SCA

Is GHSA-q4m3-2j7h-f7xw in your dependencies?

O3 detects GHSA-q4m3-2j7h-f7xw across Maven, npm, NuGet dependencies and uses function-level reachability to confirm whether the vulnerable code path is actually reachable — not just present. No false positives.