{"answers":{"affected":"8 open source packages ship an affected version, including org.webjars.npm:jquery, jQuery and jquery-rails. It affects 7 products.","exploited":"There is no known exploitation of CVE-2020-7656 in the wild and no public exploit code.","fix":"Upgrade org.webjars.npm:jquery to 1.9.0 or later.","what":"CVE-2020-7656 is a medium-severity cross-site scripting vulnerability in Juniper Junos, published on 19 May 2020. An attacker can exploit it over the internet without logging in, and only if a user opens a file or follows a link."},"fix_prompt":"Check this codebase for CVE-2020-7656 and fix it if it is affected.\n\nWhat it is: CVE-2020-7656 is a medium-severity cross-site scripting vulnerability in Juniper Junos, published on 19 May 2020. An attacker can exploit it over the internet without logging in, and only if a user opens a file or follows a link.\nExploitation: There is no known exploitation of CVE-2020-7656 in the wild and no public exploit code.\n\nAffected packages and fixed versions:\n- org.webjars.npm:jquery (Maven): affected from 1.2.1; fixed in 1.9.0\n- org.webjars.npm:jquery (Maven): affected from 1.2.1; fixed in 1.9.0\n- jQuery (NuGet): affected from 1.2.1; fixed in 1.9.0\n- jQuery (NuGet): affected from 1.2.1; fixed in 1.9.0\n- jquery-rails (RubyGems): affected all versions; fixed in 2.2.0\n- jquery-rails (RubyGems): affected all versions; fixed in 2.2.0\n- jquery (npm): affected from 1.2.1; fixed in 1.9.0\n- jquery (npm): affected from 1.2.1; fixed in 1.9.0\n\nTask:\n1. Search the dependency manifests and lockfiles (for example package.json, package-lock.json, requirements.txt, poetry.lock, uv.lock, pom.xml, build.gradle, go.mod, Cargo.lock, Gemfile.lock) and any Dockerfiles for the affected packages, including transitive dependencies.\n2. If an affected version is in use, upgrade it to the fixed version for its release line with the project's package manager, so the lockfile is regenerated. Prefer the smallest upgrade that fixes it.\n3. If there is no fix, or the upgrade would break the build, do not guess: explain the risk and the safest workaround instead.\n4. Run the tests and summarise what changed and why.\n5. If nothing in the project is affected, say so and change nothing.\n\nReference: https://insights.sbomify.com/CVE-2020-7656/ (Markdown: https://insights.sbomify.com/CVE-2020-7656/index.md)","id":"CVE-2020-7656","markdown":"https://insights.sbomify.com/CVE-2020-7656/index.md","name":"CVE-2020-7656","record":{"aliases":["GHSA-q4m3-2j7h-f7xw","SNYK-JS-JQUERY-569619","UBUNTU-CVE-2020-7656"],"analysis":{"component_type":"library","fix_type":"upgrade","impacts":["code_execution"],"network_reachable":"yes","non_default_config":false,"product_category":"JavaScript library","requires_auth":"none","summary":"An attacker can execute arbitrary scripts in a victim's browser via the jQuery load method due to improper tag filtering.","user_interaction":"required","vuln_class":"xss"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"snyk","cpe":[{"product":"jquery","vendor":"jquery"},{"product":"junos","vendor":"juniper"},{"product":"active_iq_unified_manager","vendor":"netapp"},{"product":"cloud_backup","vendor":"netapp"},{"product":"oncommand_system_manager","vendor":"netapp"},{"product":"snap_creator_framework","vendor":"netapp"},{"product":"peoplesoft_enterprise_peopletools","vendor":"oracle"}],"cvss":{"score":6.1,"severity":"medium","source":"nvd","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N","version":"3.1"},"cwes":[{"id":"CWE-79","name":"Improper Neutralization of Input During Web Page Generation"}],"description":"jquery prior to 1.9.0 allows Cross-site Scripting attacks via the load method. The load method fails to recognize and remove \"\u003cscript\u003e\" HTML tags that contain a whitespace character, i.e: \"\u003c/script \u003e\", which results in the enclosed script logic to be executed.","ecosystems":["Maven","NuGet","RubyGems","npm"],"exploits":{"exploitdb":1,"first_seen":"2025-04-08","github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[{"date":"2025-04-08","kind":"exploitdb","ref":"52141","stars":null,"title":"jQuery 3.3.1 - Prototype Pollution \u0026 XSS Exploit"}],"tier":"poc_unverified"},"has_fix":true,"headline":"Cross-Site Scripting in jquery","id":"CVE-2020-7656","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"Maven","product":"juniper:junos","products":["juniper:junos","netapp:active_iq_unified_manager","netapp:cloud_backup","oracle:peoplesoft_enterprise_peopletools"],"type":"xss","year":"2020"},"n_packages":8,"n_references":4,"next":{"headline":"meinheld vulnerable to HTTP Request Smuggling","id":"CVE-2020-7658"},"packages":[{"ecosystem":"Maven","fixed":["1.9.0"],"introduced":["1.2.1"],"last_affected":[],"package":"org.webjars.npm:jquery","purl":null,"source":"GHSA-q4m3-2j7h-f7xw"},{"ecosystem":"Maven","fixed":["1.9.0"],"introduced":["1.2.1"],"last_affected":[],"package":"org.webjars.npm:jquery","purl":"pkg:maven/org.webjars.npm/jquery","source":"GHSA-q4m3-2j7h-f7xw"},{"ecosystem":"NuGet","fixed":["1.9.0"],"introduced":["1.2.1"],"last_affected":[],"package":"jQuery","purl":null,"source":"GHSA-q4m3-2j7h-f7xw"},{"ecosystem":"NuGet","fixed":["1.9.0"],"introduced":["1.2.1"],"last_affected":[],"package":"jQuery","purl":"pkg:nuget/jQuery","source":"GHSA-q4m3-2j7h-f7xw"},{"ecosystem":"RubyGems","fixed":["2.2.0"],"introduced":["0"],"last_affected":[],"package":"jquery-rails","purl":null,"source":"GHSA-q4m3-2j7h-f7xw"},{"ecosystem":"RubyGems","fixed":["2.2.0"],"introduced":["0"],"last_affected":[],"package":"jquery-rails","purl":"pkg:gem/jquery-rails","source":"GHSA-q4m3-2j7h-f7xw"},{"ecosystem":"npm","fixed":["1.9.0"],"introduced":["1.2.1"],"last_affected":[],"package":"jquery","purl":null,"source":"GHSA-q4m3-2j7h-f7xw"},{"ecosystem":"npm","fixed":["1.9.0"],"introduced":["1.2.1"],"last_affected":[],"package":"jquery","purl":"pkg:npm/jquery","source":"GHSA-q4m3-2j7h-f7xw"}],"prev":{"headline":"HTTP Request Smuggling in netius","id":"CVE-2020-7655"},"products":["jquery"],"published":"2020-05-19","related":[{"cvss_score":7.5,"headline":"Denial of Service in jquery","id":"CVE-2016-10707","kev_date_added":null,"published":"2018-01-18"},{"cvss_score":6.1,"headline":"Cross-site scripting in n/a","id":"CVE-2018-18405","kev_date_added":null,"published":"2020-04-22"},{"cvss_score":6.1,"headline":"Cross-Site Scripting in jquery","id":"CVE-2012-6708","kev_date_added":null,"published":"2018-01-18"},{"cvss_score":6.1,"headline":"Cross-Site Scripting (XSS) in jquery","id":"CVE-2015-9251","kev_date_added":null,"published":"2018-01-18"},{"cvss_score":6.1,"headline":"Cross-site scripting in n/a","id":"CVE-2014-6071","kev_date_added":null,"published":"2018-01-16"},{"cvss_score":5,"headline":"Information disclosure in n/a","id":"CVE-2007-2379","kev_date_added":null,"published":"2007-04-30"}],"sources":[{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"class":"attribution","licence":"CC BY 4.0","name":"GitHub Advisory Database","prefix":"GHSA"},{"class":"attribution","licence":"US public information, NVD API terms","name":"NVD"},{"class":"attribution","licence":"CWE Terms of Use","name":"CWE (MITRE)"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"},{"class":"attribution","licence":"GPL-2.0-or-later","name":"Exploit-DB"}],"ssvc":{"automatable":null,"exploitation":null,"technical_impact":null},"state":"PUBLISHED","updated":"2024-08-04","vendors":["n/a"]},"summary":"An attacker can execute arbitrary scripts in a victim's browser via the jQuery load method due to improper tag filtering.","url":"https://insights.sbomify.com/CVE-2020-7656/"}