CVE-2020-7656
Cross-Site Scripting in jquery
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 Maven artifacts (3)
| Artifact | Affected versions | Fixed in |
|---|---|---|
| org.webjars.npm » jquery | >= 1.2.1, < 1.9.0 | 1.9.0 |
| org.mvnpm » jqueryvia npm jquery | >= 1.2.1, < 1.9.0 | 1.9.0 |
| org.webjars » jqueryvia npm jquery | >= 1.2.1, < 1.9.0 | 1.9.0 |
| org.webjars.npm » jqueryvia npm jquery | >= 1.2.1, < 1.9.0 | 1.9.0 |
Blast radius
58% of the dependent artifacts (82) still pull an affected version in their latest release.
| Depth | Dependent versions |
|---|---|
| Direct | 206 |
| 2 hops | 244 |
| 3 hops | 127 |
| 4 hops | 109 |
Most used dependents
- org.webjars » bootstrap475 usages
- org.webjars » font-awesome188 usages
- org.webjars » jquery-ui98 usages
- de.agilecoders.wicket » wicket-bootstrap-extensions59 usages
- org.webjars » datatables52 usages
- de.jensd » fontawesomefx41 usages
- org.webjars » select237 usages
- org.webjars » angular-ui-bootstrap28 usages
- org.apache.marmotta » marmotta-core25 usages
- de.tudarmstadt.ukp.inception.app » inception-ui-core24 usages
- de.tudarmstadt.ukp.clarin.webanno » webanno-ui-core22 usages
- de.tudarmstadt.ukp.clarin.webanno » webanno-ui-annotation15 usages
- org.webjars » jstree12 usages
- org.webjars » jquery-ui-themes12 usages
- org.webjars » datatables-tools11 usages
Computed from the dependency graph of build 20261127.1117 (compile and runtime scopes, nearest version wins). Exclusions and dependency management in consuming projects are not applied, so dependents are potentially affected. When several artifacts are affected, a dependent version that pulls more than one of them is counted once per artifact.
Other ecosystems
Also affects npm (1 package) NuGet (1 package) RubyGems (1 package) . See all on OSV
References
| Advisory | NVD CVE-2020-7656 | nvd.nist.gov |
| Package | jquery/jquery | github.com |
| Web | jquery/jquery commit 05531fc | github.com |
| Web | jquery/jquery commit 606b863 | github.com |
| Web | jquery/jquery ajax.js | github.com |
| Web | rails/jquery-rails CHANGELOG.md | github.com |
| Web | rails/jquery-rails jquery.js | github.com |
| Web | rubysec/ruby-advisory-db CVE-2020-7656.yml | github.com |
| Web | advisory/ntap-20200528-0001 | security.netapp.com |
| Web | vuln/SNYK-JS-JQUERY-569619 | snyk.io |
| Web | s/article/2021-07-Security-Bulletin-Junos-OS-Multiple-J-Web-vulnerabilities-resolved-in-Ju ... | supportportal.juniper.net |
| Web | security-alerts/cpujul2022.html | oracle.com |
