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.
CVE-2022-50972
Score 9.8 from GitHub Security Advisory (severity: CRITICAL) published 2026-06-20. a secondary CVSS source baseline 9.8; sources differ by 0.0.
- High severity, but no confirmed exploitation yet
No vendor fix yet — apply a workaround or compensating control (WAF / firewall / segmentation) and watch for a patch.
- CVSS v3
- 9.8
- EG Score
- 9.8(high)
- EPSS
- 45.8%
- KEV
- Not listed
Published
June 20, 2026
Last Modified
June 22, 2026
Advisory Details (3)
Auto-updated Jun 30, 2026WooCommerce 7.1.0 Remote Code Execution via class-wc-meta-box-product-images.php | Advisories | VulnCheck
https://www.vulncheck.com/advisories/woocommerce-remote-code-execution-via-class-wc-meta-box-product-images-phpWooCommerce v7.1.0 - Remote Code Execution(RCE) - PHP webapps Exploit
https://www.exploit-db.com/exploits/51156Vendor Advisories for CVE-2022-50972(1)
These vendors published their own advisory mentioning this CVE — often with vendor-specific remediation steps + affected product lists not in NVD.
Weakness Classification(1)
MITRE Common Weakness Enumeration — the root-cause categories this CVE belongs to.
Data Freshness Timeline
(refreshed 95× in last 7d / 227× in last 30d)
Each row is a source pipeline that fetched or updated this CVE on that date, with what changed. For example, "NVD update" means NVD published or revised its analysis for this CVE; "MITRE cvelistV5" means we ingested or refreshed it from the CNA feed. Most recent first.
Showing the most recent 100 of 227 total refreshes for this CVE.
- 2026-07-07 02:31 UTCEG score recompute
- 2026-07-07 02:31 UTCGHSA enrichment
- 2026-07-06 22:44 UTCEG score recompute
- 2026-07-06 22:44 UTCGHSA enrichment
- 2026-07-06 18:57 UTCEG score recompute
- 2026-07-06 18:57 UTCGHSA enrichment
- 2026-07-06 16:25 UTCEPSS rescore
- 2026-07-06 14:06 UTCEG score recompute
- 2026-07-06 14:06 UTCGHSA enrichment
- 2026-07-06 10:19 UTCEG score recompute
- 2026-07-06 10:18 UTCGHSA enrichment
- 2026-07-06 06:20 UTCEG score recompute
- 2026-07-06 06:19 UTCGHSA enrichment
- 2026-07-06 02:21 UTCEPSS rescore
- 2026-07-06 02:16 UTCEG score recompute
- 2026-07-06 02:15 UTCGHSA enrichment
- 2026-07-05 22:29 UTCEG score recompute
- 2026-07-05 22:29 UTCGHSA enrichment
- 2026-07-05 18:43 UTCEG score recompute
- 2026-07-05 18:43 UTCGHSA enrichment
- 2026-07-05 14:57 UTCEG score recompute
- 2026-07-05 14:57 UTCGHSA enrichment
- 2026-07-05 11:11 UTCEG score recompute
- 2026-07-05 11:11 UTCGHSA enrichment
- 2026-07-05 07:25 UTCEG score recompute
Show 75 moreShow fewer
- 2026-07-05 07:24 UTCGHSA enrichment
- 2026-07-05 03:35 UTCEG score recompute
- 2026-07-05 03:35 UTCGHSA enrichment
- 2026-07-05 02:28 UTCEPSS rescore
- 2026-07-04 23:48 UTCEG score recompute
- 2026-07-04 23:48 UTCGHSA enrichment
- 2026-07-04 20:01 UTCEG score recompute
- 2026-07-04 20:01 UTCGHSA enrichment
- 2026-07-04 16:14 UTCEG score recompute
- 2026-07-04 16:14 UTCGHSA enrichment
- 2026-07-04 12:18 UTCEG score recompute
- 2026-07-04 12:18 UTCGHSA enrichment
- 2026-07-04 08:32 UTCEG score recompute
- 2026-07-04 08:31 UTCGHSA enrichment
- 2026-07-04 06:29 UTCEPSS rescore
- 2026-07-04 04:43 UTCEG score recompute
- 2026-07-04 04:43 UTCGHSA enrichment
- 2026-07-04 00:54 UTCEG score recompute
- 2026-07-04 00:53 UTCGHSA enrichment
- 2026-07-03 21:07 UTCEG score recompute
- 2026-07-03 21:07 UTCGHSA enrichment
- 2026-07-03 17:21 UTCEG score recompute
- 2026-07-03 17:21 UTCGHSA enrichment
- 2026-07-03 13:34 UTCEG score recompute
- 2026-07-03 13:34 UTCGHSA enrichment
- 2026-07-03 09:47 UTCEG score recompute
- 2026-07-03 09:47 UTCGHSA enrichment
- 2026-07-03 06:00 UTCEG score recompute
- 2026-07-03 06:00 UTCGHSA enrichment
- 2026-07-03 02:14 UTCEG score recompute
- 2026-07-03 02:14 UTCGHSA enrichment
- 2026-07-02 22:27 UTCEG score recompute
- 2026-07-02 22:27 UTCGHSA enrichment
- 2026-07-02 18:41 UTCEG score recompute
- 2026-07-02 18:41 UTCGHSA enrichment
- 2026-07-02 14:54 UTCEG score recompute
- 2026-07-02 14:54 UTCGHSA enrichment
- 2026-07-02 11:07 UTCEG score recompute
- 2026-07-02 11:06 UTCGHSA enrichment
- 2026-07-02 07:05 UTCEG score recompute
- 2026-07-02 07:05 UTCGHSA enrichment
- 2026-07-02 03:15 UTCEG score recompute
- 2026-07-02 03:15 UTCGHSA enrichment
- 2026-07-01 23:29 UTCEG score recompute
- 2026-07-01 23:29 UTCGHSA enrichment
- 2026-07-01 19:43 UTCEG score recompute
- 2026-07-01 19:43 UTCGHSA enrichment
- 2026-07-01 15:57 UTCEG score recompute
- 2026-07-01 15:56 UTCGHSA enrichment
- 2026-07-01 15:04 UTCEPSS rescore
- 2026-07-01 12:10 UTCEG score recompute
- 2026-07-01 12:10 UTCGHSA enrichment
- 2026-07-01 08:24 UTCEG score recompute
- 2026-07-01 08:24 UTCGHSA enrichment
- 2026-07-01 04:38 UTCEG score recompute
- 2026-07-01 04:38 UTCGHSA enrichment
- 2026-07-01 00:51 UTCEG score recompute
- 2026-07-01 00:51 UTCGHSA enrichment
- 2026-06-30 23:21 UTCEPSS rescore
- 2026-06-30 23:20 UTCEPSS rescore
- 2026-06-30 21:05 UTCEG score recompute
- 2026-06-30 21:05 UTCGHSA enrichment
- 2026-06-30 17:16 UTCEG score recompute
- 2026-06-30 17:16 UTCGHSA enrichment
- 2026-06-30 13:22 UTCEG score recompute
- 2026-06-30 13:21 UTCGHSA enrichment
- 2026-06-30 09:35 UTCEG score recompute
- 2026-06-30 09:35 UTCGHSA enrichment
- 2026-06-30 05:47 UTCEG score recompute
- 2026-06-30 05:47 UTCGHSA enrichment
- 2026-06-30 02:01 UTCEG score recompute
- 2026-06-30 02:01 UTCGHSA enrichment
- 2026-06-29 22:15 UTCEG score recompute
- 2026-06-29 22:15 UTCGHSA enrichment
- 2026-06-29 18:29 UTCEG score recompute
Related CVEs(same CWE)
Same CWE
10 shownCWE-94
- CVE-2006-1359NVD 0.0EG 9.0EPSS 99%NONE
- CVE-2005-1921NVD 0.0EG 9.0EPSS 100%NONE
- CVE-2005-3302EG 7.3HIGH
- CVE-2005-1876EG 4.5MEDIUM
- CVE-2003-1599EG 0.0NONE
- CVE-2006-1318EG 0.0EPSS 96%NONE
- CVE-2006-1301EG 0.0EPSS 95%NONE
- CVE-2006-1308EG 0.0EPSS 95%NONE
- CVE-2006-1309EG 0.0EPSS 95%NONE
- CVE-2006-1304EG 0.0EPSS 95%NONE
Frequently asked(5)
What is CVE-2022-50972?
When was CVE-2022-50972 disclosed?
Is CVE-2022-50972 actively exploited?
What is the CVSS score of CVE-2022-50972?
How do I remediate CVE-2022-50972?
Dependency Blast Radius
Explore the affected products and dependency analysis for CVE-2022-50972
Is Your Infrastructure Affected by CVE-2022-50972?
EchelonGraph automatically scans your cloud infrastructure and maps CVE exposure using blast radius analysis.