What’s Vulnerable › Vulnerabilities
CVE-2022-50972: WooCommerce 7.1.0 Remote Code Execution via class-wc-meta-box-product-images.php
- Severity: critical (CVSS 9.8 v3.1)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 1.1% probability of exploitation in the next 30 days
- Public exploit or detection template: none known
- Published: 2026-06-20 · updated 2026-10-06
- Weakness: CWE-94
Description
WooCommerce 7.1.0 contains a remote code execution vulnerability that allows attackers to execute arbitrary PHP code by injecting shell commands through the product-type parameter. Attackers can send requests to the class-wc-meta-box-product-images.php endpoint with unsanitized product-type values to write malicious PHP files to the web root.
Affected products
- Automattic WooCommerce: 7.1.0
References
- https://wordpress.org/plugins/woocommerce
- https://www.exploit-db.com/exploits/51156
- https://www.vulncheck.com/advisories/woocommerce-remote-code-execution-via-class-wc-meta-box-product-images-php
Get alerted when CVE-2022-50972 or the next vulnerability affects your stack