RCE in Woocommerce
CVE-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 product-type parameter. Attackers can send requests to the class-wc-meta-box-produ…
Vulnerability class: RCE (Remote Code Execution)
EPSS: 0.011 (63.3th percentile) — read the EPSS interpretation.
CVSS v3 metric
CVSS v3 base score 9.8 (Critical). Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H.
Affected products
- Woocommerce — versions 7.1.0
Weakness classification (CWE)
References
- ExploitDB-51156 (exploit)
- Official Product Homepage (product)
- VulnCheck Advisory: WooCommerce 7.1.0 Remote Code Execution via class-wc-meta-box-product-images.php (third-party-advisory)
Frequently asked questions
- What is CVE-2022-50972?
- CVE-2022-50972 is a critical-severity vulnerability in Woocommerce, classified under Code Injection. CVSS score: 9.8/10. Published 2026-06-20.
- How severe is CVE-2022-50972?
- Critical severity. CVSS v3 base score is 9.8 out of 10.