CVE-2022-50972: woocommerce Code Injection
Vulnerability summary
CVE-2022-50972 is a critical (CVSS 9.8) Code Injection vulnerability in woocommerce. EPSS estimates a 1.14% chance of exploitation in the next 30 days, higher than 66.2% of scored vulnerabilities. 1 public exploit is recorded.
Timeline
- 20-06-2026PublishedVulnerability first disclosed.
- 15-07-2026Last modifiedVulnerability information updated.
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.
CVSS metrics
4 scores · 2 sources · 2 versions- NVDNIST9.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
- NVDNIST9.8CriticalCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
EPSS trend
Probability
1.14%
Chance of exploitation in the next 30 days
Percentile
66%
Versus all other CVEs
30-day change
0.00 pp
From 1.14% on 21-09-2026
Known exploited
Compare KEV catalogsNot in any of the 3 tracked catalogs.
Public exploits
1 foundWooCommerce v7.1.0 - Remote Code Execution(RCE)
Maturity: poc
Weaknesses
CWE · root causeAffected systems
Woocommerce1 product
- woocommerce7.1.0
1 vendor · 1 product
References
3 links- www.vulncheck.com/advisories/…Third Party Advisory