{"schema_version":"1.7.5","id":"GHSA-q4m3-2j7h-f7xw","published":"2020-05-20T16:18:01Z","modified":"2026-07-08T06:49:51.784220278Z","aliases":["CVE-2020-7656","SNYK-JS-JQUERY-569619"],"summary":"Cross-Site Scripting in jquery","details":"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.\n\n\n## Recommendation\n\nUpgrade to version 1.9.0 or later.","affected":[{"package":{"name":"jquery","ecosystem":"npm","purl":"pkg:npm/jquery"},"ranges":[{"type":"SEMVER","events":[{"introduced":"1.2.1"},{"fixed":"1.9.0"}]}],"database_specific":{"source":"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2020/05/GHSA-q4m3-2j7h-f7xw/GHSA-q4m3-2j7h-f7xw.json"}},{"package":{"name":"jQuery","ecosystem":"NuGet","purl":"pkg:nuget/jQuery"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"1.2.1"},{"fixed":"1.9.0"}]}],"versions":["1.4.1","1.4.2","1.4.3","1.4.4","1.5.0","1.5.1","1.5.2","1.6.0","1.6.1","1.6.2","1.6.3","1.6.4","1.7.0","1.7.1","1.7.1.1","1.7.2","1.8.0","1.8.1","1.8.2","1.8.3"],"database_specific":{"source":"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2020/05/GHSA-q4m3-2j7h-f7xw/GHSA-q4m3-2j7h-f7xw.json"}},{"package":{"name":"jquery-rails","ecosystem":"RubyGems","purl":"pkg:gem/jquery-rails"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.2.0"}]}],"versions":["0.1.1","0.1.2","0.1.3","0.2","0.2.1","0.2.2","0.2.3","0.2.4","0.2.5","0.2.6","0.2.7","1.0","1.0.1","1.0.10","1.0.11","1.0.12","1.0.13","1.0.14","1.0.15","1.0.16","1.0.17","1.0.18","1.0.19","1.0.2","1.0.3","1.0.4","1.0.5","1.0.6","1.0.7","1.0.8","1.0.9","1.0.rc","2.0.1","2.0.2","2.0.3","2.1.0","2.1.1","2.1.2","2.1.3","2.1.4"],"database_specific":{"source":"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2020/05/GHSA-q4m3-2j7h-f7xw/GHSA-q4m3-2j7h-f7xw.json"}},{"package":{"name":"org.webjars.npm:jquery","ecosystem":"Maven","purl":"pkg:maven/org.webjars.npm/jquery"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"1.2.1"},{"fixed":"1.9.0"}]}],"versions":["1.7.2","1.7.3","1.8.2","1.8.3"],"database_specific":{"source":"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2020/05/GHSA-q4m3-2j7h-f7xw/GHSA-q4m3-2j7h-f7xw.json"}}],"references":[{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2020-7656"},{"type":"WEB","url":"https://github.com/jquery/jquery/commit/05531fc4080ae24070930d15ae0cea7ae056457d"},{"type":"WEB","url":"https://github.com/jquery/jquery/commit/606b863edaff29035960e4d813b45d63b8d92876"},{"type":"PACKAGE","url":"https://github.com/jquery/jquery"},{"type":"WEB","url":"https://github.com/jquery/jquery/blob/9e6393b0bcb52b15313f88141d0bd7dd54227426/src/ajax.js#L203"},{"type":"WEB","url":"https://github.com/rails/jquery-rails/blob/master/CHANGELOG.md#220-19-january-2013"},{"type":"WEB","url":"https://github.com/rails/jquery-rails/blob/v2.1.4/vendor/assets/javascripts/jquery.js#L7481"},{"type":"WEB","url":"https://github.com/rubysec/ruby-advisory-db/blob/master/gems/jquery-rails/CVE-2020-7656.yml"},{"type":"WEB","url":"https://security.netapp.com/advisory/ntap-20200528-0001"},{"type":"WEB","url":"https://snyk.io/vuln/SNYK-JS-JQUERY-569619"},{"type":"WEB","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"},{"type":"WEB","url":"https://www.oracle.com/security-alerts/cpujul2022.html"}],"database_specific":{"cwe_ids":["CWE-79"],"github_reviewed":true,"github_reviewed_at":"2020-05-20T16:17:45Z","nvd_published_at":"2020-05-19T21:15:00Z","severity":"MODERATE"},"severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N"},{"type":"CVSS_V4","score":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:P/VC:N/VI:N/VA:N/SC:L/SI:L/SA:N"}]}