WooCommerce <= 9.4.2 - PostMessage-Based Cross-Site Scripting
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.
CVE-2025-5062 is a medium severity with CVSS 6.1 Cross-Site Scripting issue affecting the Plugin WooCommerce. It affects Versions up to 9.3.2 and is fixed in 9.3.4.
CVE-2025-5062 is tracked for the Plugin WooCommerce as medium severity with CVSS 6.1. The affected range is Versions up to 9.3.2. Update WooCommerce to 9.3.4 or newer where that version is compatible with the site.
| Software Type | Plugin |
|---|---|
| Software Slug |
woocommerce
View on wordpress.org
|
| CVE | CVE-2025-5062 |
| Patched Versions |
9.3.4
9.4.3
|
| Affected Versions |
Versions up to 9.3.2
9.4 through 9.4.2
|
Related CVEs for WooCommerce
These internal links group the same WordPress plugin by CVE, issue type, severity, and patch status so operators and search engines can connect the full vulnerability cluster.
WooCommerce < 5.5 - Authenticated Blind SQL Injection
WooCommerce <= 3.2.3 - Authenticated PHP Object Injection
WooCommerce <= 2.2.2 - Cross-Site Scripting via range Parameter
WooCommerce <= 3.4.5 - WooCommerce File Deletion
WooCommerce <= 2.3.5 - Stored Cross-Site Scripting
WooCommerce <= 8.1.1 & WooCommerce Blocks <= 11.1.1 - Authenticated (Contributor+) Stored Cross-Site Scripting via Featured Image alt Attribute
WooCommerce 8.8.0 - 8.9.2 - Reflected Cross-Site Scripting via Order Attribution
WooCommerce <= 3.5.4 - Stored Cross-Site Scripting
This record contains material that is subject to copyright
License: Defiant hereby grants you a perpetual, worldwide, non-exclusive, no-charge, royalty-free, irrevocable copyright license to reproduce, prepare derivative works of, publicly display, publicly perform, sublicense, and distribute this software vulnerability information. Any copy of the software vulnerability information you make for such purposes is authorized provided that you include a hyperlink to this vulnerability record and reproduce Defiant's copyright designation and this license in any such copy. Read more
License: CVE Usage: MITRE hereby grants you a perpetual, worldwide, non-exclusive, no-charge, royalty-free, irrevocable copyright license to reproduce, prepare derivative works of, publicly display, publicly perform, sublicense, and distribute Common Vulnerabilities and Exposures (CVE®). Any copy you make for such purposes is authorized provided that you reproduce MITRE's copyright designation and this license in any such copy. Read more