{"id":"CVE-2022-50972","published":"2026-06-20T13:37:00Z","modified":"2026-07-15T01:24:47Z","title":"WooCommerce 7.1.0 Remote Code Execution via class-wc-meta-box-product-images.php","vendor":"WooCommerce","product":"WooCommerce","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":9.8,"severity":"CRITICAL","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.01137,"percentile":0.6733,"provenance":"source"},"cwes":[{"id":"CWE-94","name":"Improper Control of Generation of Code"}],"references":[{"url":"https://www.exploit-db.com/exploits/51156","tags":["exploit"]},{"url":"https://wordpress.org/plugins/woocommerce","tags":["product"]},{"url":"https://www.vulncheck.com/advisories/woocommerce-remote-code-execution-via-class-wc-meta-box-product-images-php","tags":["third-party-advisory"]}],"priority":{"score":25.3,"factors":[{"name":"EPSS percentile","points":13.47},{"name":"Public exploit code","points":5.0},{"name":"CVSS severity","points":6.86}]},"vendorSlug":"woocommerce","affectedVersions":[{"vendor":"WooCommerce","product":"WooCommerce","versions":["7.1.0"]}],"ssvc":{"exploitation":"none","automatable":"yes","technicalImpact":"total","timestamp":"2026-06-22T12:45:23.607677Z","from":"CISA ADP","provenance":"source"},"euvd":{"id":"EUVD-2022-56008","exploited":false,"provenance":"source"},"exploitRefs":["https://www.exploit-db.com/exploits/51156"]}