CVE-2025-5062 WooCommerce <= 9.4.2 - PostMessage-Based Cross-Site Scripting
MediumCVSS 6.1
EPSS 0.46%
- Published
- Updated
- Exploit status
- No public exploit known
- Technology
- WordPress
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 products
| Product | Affected versions | Fixed in |
|---|---|---|
| automattic WooCommerce | <= 9.3.2 | No fix listed |
| automattic WooCommerce | >= 9.4, <= 9.4.2 | No fix listed |
| woocommerce/woocommerce | < 9.3.4 | 9.3.4 |
| woocommerce/woocommerce | >= 9.4.0, < 9.4.3 | 9.4.3 |
| wordpress woocommerce(WordPress) | < 9.3.4 | 9.3.4 |
| wordpress woocommerce(WordPress) | >= 9.4, < 9.4.3 | 9.4.3 |
References
- www.wordfence.com third-party-advisory
- github.com product
- developer.woocommerce.com release-notes
- github.com product
- Wordfence Intelligence third-party-advisory
- www.cve.org