Vulnerabilities · 2025 · Woocommerce
CVE-2025-5062
Woocommerce vulnerability
The WooCommerce plugin for WordPress is vulnerable to PostMessage-Based Cross-Site Scripting via the 'customize-store' page in all versions up to, and including, 9.4.2 due to insufficient input sanitization and output escaping on PostMessage data. This makes it possible for unauthenticated attackers to inject arbitrary web scripts in pages that execute if they can successfully trick a user into performing an action such as clicking on a link.
Affected products
Woocommerce. The exact versions are in the references.
What to do now
- Check your exposureFind out whether Woocommerce runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Limit access until thenIf you cannot update at once, take the system off the internet or restrict who can reach it.
References
- www.wordfence.com/threat-intel/vulnerabilities/id/cc2ee5bb-eeb8-4134-8f3f-b411e56457f0?sou · Third Party Advisory
- developer.woocommerce.com/2024/12/03/woocommerce-9-4-3-and-woocommerce-9-3-4-available-now
- github.com/woocommerce/woocommerce/blob/08dbc3b7dea140dd5dc19ee9c9ecd47dac0605b6/plugins/w
- github.com/woocommerce/woocommerce/pull/53405/files
- nvd.nist.gov/vuln/detail/CVE-2025-5062
- cve.org/CVERecord?id=CVE-2025-5062
More vulnerabilities in Woocommerce products
CVE-2024-37297CVE-2024-27193CVE-2024-24799CVE-2024-9944CVE-2023-52222CVE-2023-51497CVE-2023-51496CVE-2023-51495All 67
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.