# CVE-2025-5062: WooCommerce \<= 9.4.2 - PostMessage-Based Cross-Site Scripting

- Priority: **Routine**
- Reason: Not severe (CVSS 6.1, network access); no exploitation reported by the 5 checked sources
- Next step: Fix in the normal cadence
- Status: published
- Published: 2025-05-22 · Modified: 2026-04-08
- Record: https://cvemate.com/vulnerability/CVE-2025-5062 · JSON: https://cvemate.com/vulnerability/CVE-2025-5062/json

## Description

```text
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.
```

## Signals

- CVSS: 6.1 medium (v3.1, CVE.org) CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
- EPSS: 0.465%, percentile 41.965%, as of 2026-12-04
- Known exploited (KEV): CISA not listed, ENISA not listed, CIRCL not listed
- Ransomware use: none recorded
- Public exploits: 0

## Affected

- automattic woocommerce: ≤ 9.3.2 \| ≥ 9.4, ≤ 9.4.2
- woocommerce woocommerce: \< 9.3.4 \| ≥ 9.4.0, \< 9.4.3
- wordpress woocommerce: ≤ 9.3.2 (fixed in 9.3.4) \| ≥ 9.4, ≤ 9.4.2 (fixed in 9.3.4)

## References

- <https://www.wordfence.com/threat-intel/vulnerabilities/id/cc2ee5bb-eeb8-4134-8f3f-b411e56457f0?source=cve>
- <https://github.com/woocommerce/woocommerce/blob/08dbc3b7dea140dd5dc19ee9c9ecd47dac0605b6/plugins/woocommerce/client/admin/client/customize-store/utils.js#L39C1-L56C2>
- <https://developer.woocommerce.com/2024/12/03/woocommerce-9-4-3-and-woocommerce-9-3-4-available-now/>
- <https://github.com/woocommerce/woocommerce/pull/53405/files>
- <https://www.wordfence.com/threat-intel/vulnerabilities/id/cc2ee5bb-eeb8-4134-8f3f-b411e56457f0>

---

Data as of 2026-12-05T10:24:47.074Z. The priority label is CveMate's own model from public evidence, not an official rating, and it knows nothing about your assets. How labels are decided: https://cvemate.com/faq#priority
