Vulnerability 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.
CVSS Score
MEDIUM
Affected Products
| Vendor | Product | Versions |
|---|---|---|
| Woocommerce | Woocommerce | < 9.3.4 |
Related Weaknesses (CWE)
References
- https://developer.woocommerce.com/2024/12/03/woocommerce-9-4-3-and-woocommerce-9Release Notes
- https://github.com/woocommerce/woocommerce/blob/08dbc3b7dea140dd5dc19ee9c9ecd47dProduct
- https://github.com/woocommerce/woocommerce/pull/53405/filesProduct
- https://www.wordfence.com/threat-intel/vulnerabilities/id/cc2ee5bb-eeb8-4134-8f3Third Party Advisory
FAQ
What is CVE-2025-5062?
CVE-2025-5062 is a vulnerability with a CVSS score of 6.1 (MEDIUM). 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 saniti...
How severe is CVE-2025-5062?
CVE-2025-5062 has been rated MEDIUM with a CVSS base score of 6.1/10. Review the CVSS metrics above for detailed severity breakdown.
Is there a patch for CVE-2025-5062?
Check the references section above for vendor advisories and patch information. Affected products include: Woocommerce Woocommerce.