Original 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.
Affected software
- WooCommerce ≥ 4.7.0 < 4.7.2≥ 4.1.0 < 4.1.2≥ 5.2.0 < 5.2.3≥ 5.1.0 < 5.1.1≥ 3.6.0 < 3.6.6≥ 3.7.0 < 3.7.2 Fixed in: 4.7.2, 4.1.2, 5.2.3, 5.1.1 exact match
Details
- Published
- 2021-07-26
- Last modified
- 2026-06-17
- CVSS vector
CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:N/A:N- CWE
- CWE-89
- EPSS (30-day exploit probability)
- 1.27% (percentile 70)
References
Track these versions on your own servers
InfraGuard collects installed software versions from every server and flags the ones with known vulnerabilities. Self-hosted — nothing leaves your network.
This product uses data from the NVD API but is not endorsed or certified by the NVD. CVE® is a registered trademark of The MITRE Corporation; CVE records are used under the CVE Program Terms of Use.