CVE-2025-5062
MEDIUM
6.1
CVSS 3.1
Description
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 WordPress components
-
WooCommerce Plugin · woocommerceFrom 9.4.0 (including) to 9.4.3 (excluding); Before 9.3.4; From 9.4 (including) to 9.4.2 (including); Up to and including 9.3.2View on WordPress.org
A confirmed match is backed by the plugin or theme slug. A possible match is based on the product name only and should be verified.
Affected products and versions
- automattic WooCommerce — Up to and including 9.3.2
- automattic WooCommerce — From 9.4 (including) to 9.4.2 (including)
- woocommerce woocommerce — Before 9.3.4
- woocommerce woocommerce — From 9.4.0 (including) to 9.4.3 (excluding)
References
- developer.woocommerce.com https://developer.woocommerce.com/2024/12/03/woocommerce-9-4-3-and-woocommerce-9-3-4-available-now/ Release Notes
- github.com https://github.com/woocommerce/woocommerce/blob/08dbc3b7dea140dd5dc19ee9c9ecd47dac0605b6/plugins/woocommerce/client/admin/client/customize-store/utils.js#L39C1-L56C2 Product
- github.com https://github.com/woocommerce/woocommerce/pull/53405/files Product
- www.wordfence.com https://www.wordfence.com/threat-intel/vulnerabilities/id/cc2ee5bb-eeb8-4134-8f3f-b411e56457f0?source=cve Third Party Advisory
- nvd.nist.gov Official NVD record