CVE-2025-5062: The WooCommerce plugin for WordPress is vulnerable to PostMessage-Based Cross-Site Scripting via the 'customiz
CVE-2025-5062 is a medium-severity flaw (CVSS 6.1) affecting woocommerce. Below: why it ranks where it does, which versions are affected, what to do, and the exact commands.
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.
Why this priority
- No elevated risk signals yet
A fixed release or distro patch exists.
Risk facts
| CVSS score | 6.1 (Medium) |
| Attack vector | Network (remote) |
| Attack complexity | Low |
| Privileges needed | None |
| User interaction | Required |
| EPSS exploit chance | 0.5% (top 60%) |
| CISA exploited list | No |
| Weakness | CWE-79 |
| Published | 2025-05-22 |
| Last modified | 2026-06-17 |
Last updated 2026-06-17 · Sources: CVE Program, NVD, CISA KEV, EPSS and vendor advisories · How we score
Am I affected?
Timeline
- Published CVE record published
- Updated Record last modified
Scores and fixes here are computed automatically from those and other public sources. Confirm with the vendor advisory before changing production systems.
Quick answers
How do I fix CVE-2025-5062?
woocommerce: upgrade to 9.3.4, 9.4.3. Exact commands for each OS are on this page.
Is CVE-2025-5062 being exploited?
CVE-2025-5062 is not on the CISA Known Exploited Vulnerabilities list at the time of the last update. Check again, as this can change.
What does CVE-2025-5062 affect?
CVE-2025-5062 affects woocommerce. Severity is medium (CVSS 6.1). 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 PostMessag
How urgent is CVE-2025-5062?
Priority 31/100. No elevated risk signals yet.
Software pages
WordPress vulnerabilities · WooCommerce vulnerabilities
Related CVEs
- CVE-2024-1310 MEDIUM 4.9 UPGRADE The WooCommerce WordPress plugin before 8.6 does not prevent users with at least the contributor role from lea
- CVE-2024-9944 MEDIUM 5.3 UPGRADE The WooCommerce plugin for WordPress is vulnerable to HTML Injection in all versions up to, and including, 9.0
- CVE-2024-37297 MEDIUM 5.4 UPGRADE WooCommerce is an open-source e-commerce platform built on WordPress