MODERATE 6.1

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)

ArtifactAffected versionsFixed 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

3affected artifacts
10affected versions
140dependent artifacts (est.)
686dependent versions

58% of the dependent artifacts (82) still pull an affected version in their latest release.

DepthDependent versions
Direct
206
2 hops
244
3 hops
127
4 hops
109

Most used dependents

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