WooCommerce <= 4.0.4 - Unauthorized Post Meta Creation/Modification

8.8
Improper Neutralization of Special Elements used in an SQL Command ('SQL Injection')
CVSS 8.8 (High)
Publicly Published May 5, 2020
Last Updated January 22, 2024
Researcher Slavco Mihajloski

Description

The WooCommerce plugin for WordPress is vulnerable to arbitrary product meta data creation/overwriting due to a lack of escaping and validation on the post meta data being supplied during product duplication in versions up to, and including 4.0.4. This makes it possible for authenticated attackers, with product duplicating capabilities, to modify post meta that could potential be used to achieve remote code execution.

Learn more about SQL Injection vulnerabilities and how to prevent them.

References

Share

Vulnerability Details for WooCommerce

Software Type Plugin
Software Slug woocommerce (view on wordpress.org)
Patched? Yes
Remediation Update to version 4.1.0, or a newer patched version
Affected Version
  • < 4.1.0
Patched Version
  • 4.1.0

Recent vulnerabilities in WooCommerce

# Title CVE ID CVSS Researchers Date
1 WooCommerce < 10.5.3 - Cross-Site Request Forgery CVE-2026-3589 4.3 oolongeya March 10, 2026
2 WooCommerce <= 10.4.2 - Authenticated (Subscriber+) Information Exposure CVE-2025-15033 4.3 Peter Stöckli, Man Yue Mo December 22, 2025
3 WooCommerce <= 10.0.2 - Authenticated (Shop manager+) Stored Cross-Site Scripting CVE-2025-49042 4.4 SavPhill (Savphill) October 29, 2025
4 WooCommerce <= 9.4.2 - PostMessage-Based Cross-Site Scripting CVE-2025-5062 6.1 Antonio Rocco Spataro May 21, 2025
5 WooCommerce <= 9.7.0 - Authenticated (Shop Manager+) Stored Cross-Site Scripting CVE-2025-26762 4.4 SavPhill (Savphill) March 12, 2025
6 WooCommerce <= 9.0.2 - Unauthenticated HTML Injection CVE-2024-9944 5.3 drop October 14, 2024
7 WooCommerce <= 9.1.2 - Authenticated (Administrator+) Stored Cross-Site Scripting CVE-2024-39666 4.4 stealthcopter August 16, 2024
8 WooCommerce <= 8.9.2 - Authenticated (Shop Manager+) Content Injection CVE-2024-35777 2.7 SavPhill (Savphill) June 27, 2024
9 WooCommerce 8.8.0 - 8.9.2 - Reflected Cross-Site Scripting via Order Attribution CVE-2024-37297 6.1 June 10, 2024
10 WooCommerce <= 8.5.2 - Cross-Site Request Forgery CVE-2024-22155 4.3 Dhabaleshwar Das April 5, 2024

Did you know Wordfence Intelligence provides free personal and commercial API access to our comprehensive WordPress vulnerability database, along with a free webhook integration to stay on top of the latest vulnerabilities added and updated in the database? Get started today!

Learn more

Want to get notified of the latest vulnerabilities that may affect your WordPress site?
Install Wordfence on your site today to get notified immediately if your site is affected by a vulnerability that has been added to our database.

Get Wordfence

The Wordfence Intelligence WordPress vulnerability database is completely free to access and query via API. Please review the documentation on how to access and consume the vulnerability data via API.

Documentation