← Back
CVE-2020-11022
Cross-Site Scripting (XSS) in jquery-rails (CVE-2020-11022)
Summary
cross-site scripting in jquery-rails (CVE-2020-11022). Risk of unauthorized operations or information disclosure. Mitigation: upgrade to `4.4.0` or later.
AI summary snake-internal / snake-material-v2
A vulnerability tracked as **CVE-2020-11022** has been found in jquery-rails.
Risk of unauthorized operations or information disclosure. CVSS score: ?/10.
What to do: upgrade jquery-rails to **4.4.0** or later.
If unsure, ask your IT team or search "jquery-rails CVE-2020-11022" on the vendor's site.
CVE-2020-11022 (jquery-rails) — CWE-79 /
Attack vector: remote (network-reachable) / unauthenticated
Patched: `4.4.0` — apply immediately
Plan: 1) Audit SBOM/dependencies, 2) Stage→prod upgrade, 3) Add WAF/proxy monitoring on affected endpoints, 4) Hunt IOCs in logs.
Refs: see the GHSA / vendor advisory / patched release linked on this page.
❓ What is the problem
**Cross-site scripting (XSS)** (CWE-79) exists in jquery-rails.
📍 Affected scope
jquery-rails — .
🔥 Severity
Severity: ?. Risk of unauthorized operations or information disclosure
🔧 How to fix
Update to **4.4.0**.
🛡️ Workaround
Until the patch is applied: disable the affected feature, apply WAF rules, or restrict access via network ACLs.
🔍 Detection
Search webserver/proxy logs for unusual request patterns matching this CVE's known IOCs. Run `grep -r 'jquery-rails' .` against your dependency files (package-lock.json, requirements.txt, go.sum) to find affected services.
Response Actions (7 steps)
Concrete steps and command examples for SOC/SRE teams to execute in order
-
1Identify exposure identify
grep -r 'jquery-rails' . | grep -v node_modulesリポジトリと本番環境の依存ファイル (package-lock.json / requirements.txt / go.sum / Gemfile.lock 等) で `jquery-rails` を grep し、稼働しているサービス・バージョンを把握する。
-
6Apply patch patch
Upgrade jquery-rails to 4.4.0ステージング環境で 4.4.0 に上げて回帰テスト → 本番反映。回帰テストはアプリの主要ハッピーパスと、Step 3 で見つけた異常検知の続報チェックを含めること。
-
7Post-deployment verification verify
Confirm patched version is live in productionパッチ適用後、ステージングで PoC または同等の悪用パターンを再現して脆弱性が閉じたことを確認。本番では Step 3 と同じログクエリでアラート再発が無いか継続監視。
Affected packages
rubygems
jquery-rails
[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"4.4.0"}]}]
composer
maximebf/debugbar
[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.19.0"}]}]
composer
athlon1600/youtube-downloader
[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"4.0.1"}]}]
npm
jquery
[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"3.5.0"}]}]
nuget
jquery
[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"3.5.0"}]}]
maven
org.webjars.npm:jquery
[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"3.5.0"}]}]
composer
components/jquery
[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"3.5.0"}]}]
References
- advisory https://security.netapp.com/advisory/ntap-20200511-0006/
- advisory https://blog.jquery.com/2020/04/10/jquery-3-5-0-released/
- advisory https://jquery.com/upgrade-guide/3.5/
- report http://packetstormsecurity.com/files/162159/jQuery-1.2-Cross-Site-Scripting.html
- web https://lists.apache.org/thread.html/r0483ba0072783c2e1bfea613984bfb3c86e73ba8879d780dc1cc7d36%40%3Cissues.flink.apache.org%3E
- web https://lists.debian.org/debian-lts-announce/2023/08/msg00040.html
- web https://lists.apache.org/thread.html/r706cfbc098420f7113968cc377247ec3d1439bce42e679c11c609e2d%40%3Cissues.flink.apache.org%3E
- web http://lists.opensuse.org/opensuse-security-announce/2020-07/msg00067.html
- web https://lists.apache.org/thread.html/r49ce4243b4738dd763caeb27fa8ad6afb426ae3e8c011ff00b8b1f48%40%3Cissues.flink.apache.org%3E
- web https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/AVKYXLWCLZBV2N7M46KYK4LVA5OXWPBY/
- web https://lists.apache.org/thread.html/r564585d97bc069137e64f521e68ba490c7c9c5b342df5d73c49a0760%40%3Cissues.flink.apache.org%3E
- web http://lists.opensuse.org/opensuse-security-announce/2020-07/msg00085.html
- web https://lists.apache.org/thread.html/rbb448222ba62c430e21e13f940be4cb5cfc373cd3bce56b48c0ffa67%40%3Cdev.flink.apache.org%3E
- web https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/QPN2L2XVQGUA2V5HNQJWHK3APSK3VN7K/
- web https://www.oracle.com/security-alerts/cpujul2022.html
- web https://lists.apache.org/thread.html/rdf44341677cf7eec7e9aa96dcf3f37ed709544863d619cca8c36f133%40%3Ccommits.airflow.apache.org%3E
- web https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/SAPQVX3XDNPGFT26QAQ6AJIXZZBZ4CD4/
- web http://lists.opensuse.org/opensuse-security-announce/2020-11/msg00039.html
- web https://lists.apache.org/thread.html/r54565a8f025c7c4f305355fdfd75b68eca442eebdb5f31c2e7d977ae%40%3Cissues.flink.apache.org%3E
- web https://lists.apache.org/thread.html/re4ae96fa5c1a2fe71ccbb7b7ac1538bd0cb677be270a2bf6e2f8d108%40%3Cissues.flink.apache.org%3E
- web https://lists.apache.org/thread.html/ree3bd8ddb23df5fa4e372d11c226830ea3650056b1059f3965b3fce2%40%3Cissues.flink.apache.org%3E
- web https://lists.apache.org/thread.html/r8f70b0f65d6bedf316ecd899371fd89e65333bc988f6326d2956735c%40%3Cissues.flink.apache.org%3E
- web https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/SFP4UK4EGP4AFH2MWYJ5A5Z4I7XVFQ6B/
- web https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/VOE7P7APPRQKD4FGNHBKJPDY6FFCOH3W/
- web https://lists.apache.org/thread.html/rede9cfaa756e050a3d83045008f84a62802fc68c17f2b4eabeaae5e4%40%3Cissues.flink.apache.org%3E
- web https://www.debian.org/security/2020/dsa-4693
- web https://www.drupal.org/sa-core-2020-002
- web https://www.tenable.com/security/tns-2021-02
- web https://security.gentoo.org/glsa/202007-03
- web https://www.oracle.com/security-alerts/cpujan2021.html
- web https://www.tenable.com/security/tns-2020-11
- web https://www.tenable.com/security/tns-2021-10
- web https://github.com/jquery/jquery/security/advisories/GHSA-gxr4-xjj5-5px2
- web https://www.tenable.com/security/tns-2020-10
- web https://www.oracle.com/security-alerts/cpujul2020.html
- web https://www.oracle.com/security-alerts/cpuoct2020.html
- web https://lists.debian.org/debian-lts-announce/2021/03/msg00033.html
- web https://www.oracle.com/security-alerts/cpujan2022.html
- web https://www.oracle.com/security-alerts/cpuoct2021.html
- web https://www.oracle.com/security-alerts/cpuapr2022.html
- web https://www.oracle.com//security-alerts/cpujul2021.html
- web https://www.oracle.com/security-alerts/cpuApr2021.html
- web https://github.com/jquery/jquery/commit/1d61fd9407e6fbe82fe55cb0b938307aa0791f77
- web https://nvd.nist.gov/vuln/detail/CVE-2020-11022
- web https://lists.apache.org/thread.html/rdf44341677cf7eec7e9aa96dcf3f37ed709544863d619cca8c36f133@%3Ccommits.airflow.apache.org%3E
- web https://lists.apache.org/thread.html/r706cfbc098420f7113968cc377247ec3d1439bce42e679c11c609e2d@%3Cissues.flink.apache.org%3E
- web https://lists.apache.org/thread.html/rbb448222ba62c430e21e13f940be4cb5cfc373cd3bce56b48c0ffa67@%3Cdev.flink.apache.org%3E
- web https://lists.apache.org/thread.html/r49ce4243b4738dd763caeb27fa8ad6afb426ae3e8c011ff00b8b1f48@%3Cissues.flink.apache.org%3E
- web https://lists.apache.org/thread.html/r564585d97bc069137e64f521e68ba490c7c9c5b342df5d73c49a0760@%3Cissues.flink.apache.org%3E
- web https://lists.apache.org/thread.html/r8f70b0f65d6bedf316ecd899371fd89e65333bc988f6326d2956735c@%3Cissues.flink.apache.org%3E
- web https://lists.apache.org/thread.html/rede9cfaa756e050a3d83045008f84a62802fc68c17f2b4eabeaae5e4@%3Cissues.flink.apache.org%3E
- web https://lists.apache.org/thread.html/ree3bd8ddb23df5fa4e372d11c226830ea3650056b1059f3965b3fce2@%3Cissues.flink.apache.org%3E
- web https://lists.apache.org/thread.html/r54565a8f025c7c4f305355fdfd75b68eca442eebdb5f31c2e7d977ae@%3Cissues.flink.apache.org%3E
- web https://lists.apache.org/thread.html/re4ae96fa5c1a2fe71ccbb7b7ac1538bd0cb677be270a2bf6e2f8d108@%3Cissues.flink.apache.org%3E
- web https://lists.apache.org/thread.html/r0483ba0072783c2e1bfea613984bfb3c86e73ba8879d780dc1cc7d36@%3Cissues.flink.apache.org%3E
- web https://github.com/jquery/jquery/releases/tag/3.5.0
- web https://github.com/rubysec/ruby-advisory-db/blob/master/gems/jquery-rails/CVE-2020-11022.yml
- web https://github.com/maximebf/php-debugbar/issues/447
- web https://github.com/maximebf/php-debugbar/commit/847216e60544258c881f2733d699bbcfeefac0fc
- web https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/SFP4UK4EGP4AFH2MWYJ5A5Z4I7XVFQ6B
- web https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/VOE7P7APPRQKD4FGNHBKJPDY6FFCOH3W
- web https://blog.jquery.com/2020/04/10/jquery-3-5-0-released
- web https://jquery.com/upgrade-guide/3.5
- web https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/AVKYXLWCLZBV2N7M46KYK4LVA5OXWPBY
- web https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/QPN2L2XVQGUA2V5HNQJWHK3APSK3VN7K
- web https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/SAPQVX3XDNPGFT26QAQ6AJIXZZBZ4CD4
- web https://lists.opensuse.org/opensuse-security-announce/2020-07/msg00067.html
- web https://lists.opensuse.org/opensuse-security-announce/2020-07/msg00085.html
- web https://lists.opensuse.org/opensuse-security-announce/2020-11/msg00039.html
- web https://packetstormsecurity.com/files/162159/jQuery-1.2-Cross-Site-Scripting.html
- web http://security.netapp.com/advisory/ntap-20200511-0006
- web https://github.com/Athlon1600/youtube-downloader/releases/tag/v4.0.1
- web https://github.com/advisories/GHSA-gxr4-xjj5-5px2