Skip to content
OpenAdvisories
Medium · 6.1 Public exploit CVE-2020-7656 EUVD-2020-0437GHSA-q4m3-2j7h-f7xwSNYK-JS-JQUERY-569619

Cross-Site Scripting in jquery

Published May 19, 2020 · Updated Aug 4, 2024 · Assigned by snyk

Description

jquery prior to 1.9.0 allows Cross-site Scripting attacks via the load method. 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.

Affected products

VendorProductAffectedFixed
— jquery All versions prior to version 1.9.0 —

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Ubuntu Pro 16.04 LTS jquery No fix yet —
Ubuntu Pro 14.04 LTS jquery No fix yet —
ReleasePackageFixed inAdvisory
RHEL 8 pcs +1 0.10.10-4.el8 RHSA-2021:4142
Show 1 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
Red Hat Amq Interconnect 1 qpid-dispatch +4 1.13.0-3.el6_10 RHSA-2020:4211

AlmaLinux

Errata ↗
ReleasePackageFixed inAdvisory
AlmaLinux 8 pcs +1 0.10.10-4.el8.alma ALSA-2021:4142

Rocky Linux

Errata ↗
ReleasePackageFixed inAdvisory
Rocky Linux 8 pcs 0.10.10-4.el8 RLSA-2021:4142

Oracle Linux

ReleasePackageFixed inAdvisory
Oracle Linux 8 pcs +1 0.10.10-4.0.1.el8 ELSA-2021-9552

Public exploits

Exploit or proof-of-concept code for this vulnerability is publicly available, which lowers the bar for attackers. Treat it as a reason to patch sooner.

Third-party code, not reviewed by us. Public PoCs are sometimes fake or contain malware. Read the code first and run it only in an isolated lab, against systems you are authorised to test.

Exploit-DB 1

Sources: PoC-in-GitHub, Metasploit Framework, Exploit-DB — updated daily. Only links are listed; no exploit code is hosted here.

Affected packages

EcosystemPackageAffectedFixedRecord
Maven org.webjars.npm:jquery >= 1.2.1, < 1.9.0 1.9.0 GHSA-q4m3-2j7h-f7xw
npm jquery >= 1.2.1, < 1.9.0 1.9.0 GHSA-q4m3-2j7h-f7xw
NuGet jQuery >= 1.2.1, < 1.9.0 1.9.0 GHSA-q4m3-2j7h-f7xw
RubyGems jquery-rails < 2.2.0 2.2.0 GHSA-q4m3-2j7h-f7xw

Advisories 9

References