LiveActive security incident?Get immediate response
CVE Record

CVE-2021-32789: Arbitrary SQL (SQL injection) possible via the Store API component.

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.

HighCVSS 7.5Not KEV-listedUpdated
Glexia's TakeAutomated analysishigh

Security readout for executives and security teams

Plain-English summary

This is a high-risk data exposure issue in the WooCommerce Blocks feature plugin. A public visitor could trigger a SQL injection path in the Store API and run read-only database queries. The sources identify patches starting at version 2.5.16 and state there are no workarounds aside from upgrading.

Executive priority

Handle as an urgent patching item for any public WooCommerce store using the affected plugin. The main business risk is unauthorized database data exposure, not site takeover or service outage based on the provided CVSS impact.

Technical view

CVE-2021-32789 is CWE-89 SQL injection in woocommerce-gutenberg-products-block versions after 2.5.0 and before 2.5.16. The vulnerable path is in Store API product collection-data attribute counting. CVSS 3.1 is 7.5 because exploitation is network-reachable, low complexity, unauthenticated, and impacts confidentiality only.

Likely exposure

Exposure is most likely on internet-facing WooCommerce sites running the WooCommerce Blocks feature plugin in the affected version range. Sites without that plugin/version combination are not identified as affected by the supplied sources.

Exploitation context

The source bundle includes a HackerOne report and vendor incident/advisory references, but KEV is false and the provided sources do not establish known active exploitation. Treat this as remotely exploitable based on CVSS and vendor details, not as confirmed exploited in the wild.

Researcher notes

The advisory describes read-only SQL query execution through Store API collection-data attribute-count handling. Evidence supports unauthenticated remote confidentiality impact. The supplied material does not justify claims of integrity impact, availability impact, confirmed active exploitation, or affected products beyond the WooCommerce Blocks feature plugin range.

Mitigation direction

  • Upgrade WooCommerce Blocks to version 2.5.16 or later.
  • Apply vendor-provided patched releases for the installed branch.
  • Do not rely on a workaround; sources state none are known aside from upgrading.
  • Prioritize public WooCommerce stores and externally reachable Store API deployments.
  • Follow WooCommerce advisory updates for any environment-specific guidance.

Validation and detection

  • Inventory WooCommerce Blocks plugin versions across all WordPress sites.
  • Confirm affected installations are no longer below version 2.5.16.
  • Review web logs for Store API product collection-data requests around disclosure windows.
  • Check whether vulnerable instances were internet-facing.
  • Assess potential database confidentiality exposure if suspicious requests are found.
Prepared
Confidence
high
Sources
6

Generated from the cited source records. This long-tail analysis has not been individually reviewed by a named human.

Potential ATT&CK relevance

Conservative CVE-to-ATT&CK context

These mappings and lookup hints may be relevant to the vulnerability behavior, CWE, affected product, or exposure path. Glexia-inferred context is not an official MITRE, ATT&CK, CWE, or CVE Program mapping.

ATT&CK lookup starting points

Use these exact CWE pages and searches to review the Glexia ATT&CK library from this CVE's weakness and description context.

cwe · medium confidence lookup

CWE-89: Database access and collection lookup

Injection into data stores can inform collection, data access, and exfiltration detection reviews. Open the exact CWE lookup page first, then review the ATT&CK searches from that MITRE weakness context. This is a Glexia lookup hint, not an official ATT&CK mapping.

Open ATT&CK lookup
description · low confidence lookup

Database behavior lookup

The CVE wording references database injection or access, so collection and exfiltration review may help. This is a Glexia inferred lookup path, not an official MITRE, ATT&CK, or CVE Program mapping.

Open ATT&CK lookup
cve · low confidence lookup

CVE-2021-32789 mapping review

Open the CVE-to-ATT&CK bridge for reviewed, inferred, or future official mappings tied to this CVE.

Open ATT&CK lookup
Vulnerability profileCVE Program record
Severity
High
CVSS
7.5 (3.1)
Known Exploited
No
Published

Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N

Official CVE source material

CNA and ADP enrichment extracted from CVE v5

These fields come from the CVE record and ADP containers, not from Glexia's Take. They preserve time-varying source decisions such as CISA SSVC, KEV status, CVSS metrics, and provider references.

1CVSS vectors
0Timeline events
0ADP providers
6Source links

CVSS vector scores

1 official score

We collect every scored CVSS vector available in the official CNA and ADP containers. When more than one version is present, the table keeps the source vectors side by side instead of collapsing them into the highest score.

ScoreVersionSeverityVectorExploitImpactSource
7.5CVSS 3.1HighCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N3.93.6Primary CVE score

Vulnerability scoring details

Base CVSS 3.1 score

7.5High
CVSS 3.1 vector shape for CVE-2021-32789Attack VectorAttack ComplexityPrivileges RequiredUser InteractionScopeConfidentiality ImpactIntegrity ImpactAvailability Impact

Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N

Attack Vector
NetworkAdjacentLocalPhysical
Attack Complexity
LowHigh
Privileges Required
NoneLowHigh
User Interaction
NoneRequired
Scope
ChangedUnchanged
Confidentiality Impact
HighLowNone
Integrity Impact
HighLowNone
Availability Impact
HighLowNone
Affected products

Products and packages named in the record

VendorProductVersion / packageStatus
woocommercewoocommerce-gutenberg-products-block> 2.5.0, < 2.5.16Listed
Weakness

CWE details

CWE links open Glexia weakness intelligence pages with official CWE context, developer remediation guidance, and related CVE mappings.

CWE-89 · source CWE mapping

Improper Neutralization of Special Elements used in an SQL Command ('SQL Injection')

Improper Neutralization of Special Elements used in an SQL Command ('SQL Injection') represents a recurring weakness pattern that can create exploitable paths when design, validation, or implementation controls are missing.