Unrated severityNVD Advisory· Published May 22, 2025· Updated Apr 8, 2026
WooCommerce <= 9.4.2 - PostMessage-Based Cross-Site Scripting
CVE-2025-5062
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.
AI Insight
LLM-synthesized narrative grounded in this CVE's description and references.
Affected products
3- Range: <=9.4.2
- Range: 0
Patches
Vulnerability mechanics
References
4- developer.woocommerce.com/2024/12/03/woocommerce-9-4-3-and-woocommerce-9-3-4-available-now/mitre
- github.com/woocommerce/woocommerce/blob/08dbc3b7dea140dd5dc19ee9c9ecd47dac0605b6/plugins/woocommerce/client/admin/client/customize-store/utils.jsmitre
- github.com/woocommerce/woocommerce/pull/53405/filesmitre
- www.wordfence.com/threat-intel/vulnerabilities/id/cc2ee5bb-eeb8-4134-8f3f-b411e56457f0mitre
News mentions
0No linked articles in our index yet.