{"id":"CVE-2022-50972","aliases":["CVE-2022-50972"],"related":[],"kind":"vulnerability","state":"published","title":"WooCommerce 7.1.0 Remote Code Execution via class-wc-meta-box-product-images.php","summary":"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.","summarySource":"cvelist","descriptions":[{"lang":"en","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.","source":"cvelist"},{"lang":"es","text":"WooCommerce 7.1.0 contiene una vulnerabilidad de ejecución remota de código que permite a los atacantes ejecutar código PHP arbitrario mediante la inyección de comandos shell a través del parámetro product-type. Los atacantes pueden enviar solicitudes al endpoint class-wc-meta-box-product-images.php con valores de product-type no saneados para escribir archivos PHP maliciosos en la raíz web.","source":"nvd"}],"published":"2026-06-20T13:37:00.161Z","modified":"2026-10-06T22:10:00.247Z","severity":{"scorer":"VulnCheck","scheme":"CVSS:4.0","vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N","score":9.3,"rating":"CRITICAL"},"severities":[{"scorer":"VulnCheck","scheme":"CVSS:4.0","vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N","score":9.3,"rating":"CRITICAL"},{"scorer":"VulnCheck","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","score":9.8,"rating":"CRITICAL"}],"cwes":["CWE-94"],"affected":[{"ranges":[{"type":"semver","version":"7.1.0","status":"affected"}],"vendor":"WooCommerce","product":"WooCommerce","source":"cvelist"}],"references":[{"url":"https://www.exploit-db.com/exploits/51156","tags":["exploit"],"sources":["cvelist","nvd"]},{"url":"https://wordpress.org/plugins/woocommerce","tags":["product"],"sources":["cvelist","nvd"]},{"url":"https://www.vulncheck.com/advisories/woocommerce-remote-code-execution-via-class-wc-meta-box-product-images-php","tags":["third-party-advisory"],"sources":["cvelist","nvd"]}],"credits":["Milad Karimi"],"assigner":"VulnCheck","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"yes","technicalImpact":"total","date":"2026-06-22T12:45:23.607Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2022-50972","url":"https://www.cve.org/CVERecord?id=CVE-2022-50972","licence":"CVE Terms of Use","modified":"2026-07-15T01:24:47.794Z"},{"source":"nvd","name":"NVD","id":"CVE-2022-50972","url":"https://nvd.nist.gov/vuln/detail/CVE-2022-50972","licence":"Public domain","modified":"2026-10-06T22:10:00.247Z"}],"updatedAt":"2026-11-25T22:58:21.445Z","epss":{"score":0.01137,"percentile":0.66333,"date":"2026-11-30T12:00:22.000Z"}}