CVE-2022-50972
published 2026-06-20CVE-2022-50972: WooCommerce 7.1.0 contains a remote code execution vulnerability that allows attackers to execute arbitrary PHP code by injecting shell commands through the…
PriorityP265critical9.8CVSS 3.1
AVNACLPRNUINSUCHIHAH
EPSS
0.63%
45.6th percentile
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
1 ranges
| Vendor | Product | Version range | Fixed in |
|---|---|---|---|
| woocommerce | woocommerce | — | — |
CVSS provenance
nvdv3.19.8CRITICALCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
nvdv4.09.3CRITICALCVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
Stop checking back — get the weekly exploitation signal.
Every Monday: what got weaponized or added to CISA KEV in the last seven days — each CVE cross-linked to its PoC, Nuclei template, and detection rule. Free, one email a week, unsubscribe in one click.
GHSA
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.
ghsa_unreviewed·2026-06-20
CVE-2022-50972 [CRITICAL] CWE-94 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.
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.
VulDB
WooCommerce 7.1.0 PHP File class-wc-meta-box-product-images.php product-type code injection (Exploit 51156 / EUVD-2022-56008)
vuldb·2026-06-20·CVSS 9.8
CVE-2022-50972 [CRITICAL] WooCommerce 7.1.0 PHP File class-wc-meta-box-product-images.php product-type code injection (Exploit 51156 / EUVD-2022-56008)
A vulnerability was found in WooCommerce 7.1.0. It has been classified as critical. Impacted is an unknown function of the file class-wc-meta-box-product-images.php of the component PHP File Handler. Performing a manipulation of the argument product-type results in code injection.
This vulnerability is identified as CVE-2022-50972. The attack can be initiated remotely. Additionally, an exploit exists.
No detection rules found.
No public exploits indexed.
No writeups or analysis indexed.
2026-06-20
Published