CVE-2021-32789
Last modified
CVE-2021-32789 is a high-severity vulnerability rated 7.5/10 on the CVSS scale. woocommerce-gutenberg-products-block is a feature plugin for WooCommerce Gutenberg Blocks. An SQL injection vulnerability impacts all WooCommerce sites running the WooCommerce Blocks feature plugin between version 2.5.0 and prior to version 2.5.16. EPSS estimates a 17.23% chance of exploitation in the next 30 days.
Description
woocommerce-gutenberg-products-block is a feature plugin for WooCommerce Gutenberg Blocks. An SQL injection vulnerability impacts all WooCommerce sites running the WooCommerce Blocks feature plugin between version 2.5.0 and prior to version 2.5.16. Via a carefully crafted URL, an exploit can be executed against the `wc/store/products/collection-data?calculate_attribute_counts[][taxonomy]` endpoint that allows the execution of a read only sql query. There are patches for many versions of this package, starting with version 2.5.16. There are no known workarounds aside from upgrading.
Metrics
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
Weakness Enumeration
Affected Software
| Vendor | Product | Versions |
|---|---|---|
| Automattic | Woocommerce Blocks | >= 2.5.0, < 2.5.16 |
| Automattic | Woocommerce Blocks | >= 2.6.0, < 2.6.2 |
| Automattic | Woocommerce Blocks | >= 2.7.0, < 2.7.2 |
| Automattic | Woocommerce Blocks | >= 2.8.0, < 2.8.1 |
| Automattic | Woocommerce Blocks | >= 2.9.0, < 2.9.1 |
| Automattic | Woocommerce Blocks | >= 3.0.0, < 3.0.1 |
| Automattic | Woocommerce Blocks | >= 3.1.0, < 3.1.1 |
| Automattic | Woocommerce Blocks | >= 3.2.0, < 3.2.1 |
| Automattic | Woocommerce Blocks | >= 3.3.0, < 3.3.1 |
| Automattic | Woocommerce Blocks | >= 3.4.0, < 3.4.1 |
| Automattic | Woocommerce Blocks | >= 3.5.0, < 3.5.1 |
| Automattic | Woocommerce Blocks | >= 3.6.0, < 3.6.1 |
| Automattic | Woocommerce Blocks | >= 3.7.0, < 3.7.2 |
| Automattic | Woocommerce Blocks | >= 3.8.0, < 3.8.1 |
| Automattic | Woocommerce Blocks | >= 3.9.0, < 3.9.1 |
| Automattic | Woocommerce Blocks | >= 4.0.0, < 4.0.1 |
| Automattic | Woocommerce Blocks | >= 4.1.0, < 4.1.1 |
| Automattic | Woocommerce Blocks | >= 4.2.0, < 4.2.1 |
| Automattic | Woocommerce Blocks | >= 4.3.0, < 4.3.1 |
| Automattic | Woocommerce Blocks | >= 4.4.0, < 4.4.3 |
| Automattic | Woocommerce Blocks | >= 4.5.0, < 4.5.3 |
| Automattic | Woocommerce Blocks | >= 4.6.0, < 4.6.1 |
| Automattic | Woocommerce Blocks | >= 4.7.0, < 4.7.1 |
| Automattic | Woocommerce Blocks | >= 4.8.0, < 4.8.1 |
| Automattic | Woocommerce Blocks | >= 4.9.0, < 4.9.2 |
| Automattic | Woocommerce Blocks | >= 5.0.0, < 5.0.1 |
| Automattic | Woocommerce Blocks | >= 5.1.0, < 5.1.1 |
| Automattic | Woocommerce Blocks | >= 5.2.0, < 5.2.1 |
| Automattic | Woocommerce Blocks | >= 5.3.0, < 5.3.2 |
| Automattic | Woocommerce Blocks | >= 5.4.0, < 5.4.1 |
| Automattic | Woocommerce Blocks | >= 5.5.0, < 5.5.1 |
References
- https://github.com/woocommerce/woocommerce-gutenberg-products-block/security/advisories/GHSA-6hq4-w6wv-8wrpPatch, Third Party Advisory
- https://hackerone.com/reports/1260787Permissions Required
- https://github.com/woocommerce/woocommerce-gutenberg-products-block/security/advisories/GHSA-6hq4-w6wv-8wrpPatch, Third Party Advisory
- https://hackerone.com/reports/1260787Permissions Required
Timeline
- Published
- Last Modified
- Status
- Modified
Frequently Asked Questions
What is CVE-2021-32789?
How severe is CVE-2021-32789?
How do I fix CVE-2021-32789?
How Strix Helps
- How Strix found a critical auth bypass in etcdStrix autonomously discovered a critical authentication bypass in etcd, later designated CVE-2026-33413.
- Autonomous PentestingAI agents that find and validate exploitable vulnerabilities like this one across your applications.
- PR ReviewsPentest every pull request so vulnerable code is caught before it ships to production.
- AI Penetration TestingHow AI-driven penetration testing continuously covers your attack surface.
Related CVEs from 2021
- CVE-2021-32782Nextcloud Circles is an open source social network built for…5.4
- CVE-2021-32783Contour is a Kubernetes ingress controller using Envoy proxy…8.5
- CVE-2021-32785mod_auth_openidc is an authentication/authorization module f…7.5
- CVE-2021-32786mod_auth_openidc is an authentication/authorization module f…6.1
- CVE-2021-32787Sourcegraph is a code search and navigation engine. Sourcegr…4.3
- CVE-2021-32788Discourse is an open source discussion platform. In versions…4.3
- CVE-2021-3279sz.chat version 4 allows injection of web scripts and HTML i…6.1
- CVE-2021-32790Woocommerce is an open source eCommerce plugin for WordPress…4.9
- CVE-2021-32791mod_auth_openidc is an authentication/authorization module f…5.9
- CVE-2021-32792mod_auth_openidc is an authentication/authorization module f…6.1
- CVE-2021-32793Pi-hole's Web interface provides a central location to manag…4.8
- CVE-2021-32794ArchiSteamFarm is a C# application with primary purpose of i…7.5
Are you affected by CVE-2021-32789?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
