SecurityContext

CVE-2021-24511: WooCommerce - SQL Injection

  • Cve: CVE-2021-24511
  • Name: WooCommerce - SQL Injection
  • Description: The fetch_product_ajax functionality in the Product Feed on WooCommerce WordPress plugin before 3.3.1.0 uses a `product_id` POST parameter which is not properly sanitised, escaped or validated before inserting to a SQL statement, leading to SQL injection.
  • Impact: Attackers can execute arbitrary SQL commands, potentially leading to data theft, data tampering, or full database compromise.
  • Remediation: Update to version 3.3.1.0 or later.
  • Vulnerability type: sql_injection
  • Vulnerability impact: information_disclosure, data_tampering
  • Requirement type: none
  • Labels source: projectdiscovery
  • Severity: high
  • Cvss score: 7.2
  • Cvss vector: CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H
  • Epss score: 0.01533
  • Epss percentile: 0.75332
  • Assignee: [email protected]
  • Published at: 2021-09-20T10:15:08Z
  • Age in days: 1891
  • Modified at: 2026-06-17T03:40:09Z
  • Patch available: yes
  • Public exploits total: 2
  • References total: 2
  • Products total: 1
  • Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2021-24511
  • Nvd status: modified
  • Checked, none or zero: known exploited entries, nuclei templates, public exploits capped, oss, projects total, projects, rejected by nvd
  • Not known: requirements, hackerone

Cwe

IdName
CWE-89Improper Neutralization of Special Elements used in an SQL Command

Public exploits

UrlSourceAdded date
https://codevigilant.com/disclosure/2021/wp-plugin-purple-xmls-google-product-feed-for-woocommerce/nvd2021-09-20
https://wpscan.com/vulnerability/0fa114a0-29df-4312-9138-eb9f0aedb3c5nvd2021-09-20

References

UrlSourceTags
https://codevigilant.com/disclosure/2021/wp-plugin-purple-xmls-google-product-feed-for-woocommerce/nvdExploit, Patch, Third Party Advisory
https://wpscan.com/vulnerability/0fa114a0-29df-4312-9138-eb9f0aedb3c5nvdExploit, Third Party Advisory

Products

ProductAffectedPlatform boundSourcesUrl
dpl:product_feed_on_woocommerce< 3.3.1.0nonvd/v1/products/dpl/product_feed_on_woocommerce

Index

  • Checked, none or zero: repositories, repositories high signal, packages

Exploitation

  • Public exploit: yes
  • Public exploit count: 2
  • Public exploit first date: 2021-09-20
  • Remote: yes
  • Authentication required: yes
  • Checked, none or zero: known exploited, known exploited by, exploitation seen, initial access
  • Not known: known exploited since, vulncheck known exploited since, nuclei template, initial access since, hackerone reports, exposed hosts