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

- Severity: Medium 6.1 (CVSS:3.1, scored by Wordfence) `CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.46%, higher than 41% of CVEs (2026-12-01)
- Published: 2025-05-22T03:42:08.044Z
- Modified: 2026-06-17T09:47:07.317Z
- Weaknesses: CWE-79
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: Wordfence

## 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.

(As written by CVE List.)

## Affected

- automattic WooCommerce: up to 9.3.2; from 9.4 up to 9.4.2
- woocommerce woocommerce: before 9.3.4; from 9.4.0 before 9.4.3

## References

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

## Sources

- CVE List: [CVE-2025-5062](https://www.cve.org/CVERecord?id=CVE-2025-5062), CVE Terms of Use, modified 2026-04-08
- NVD: [CVE-2025-5062](https://nvd.nist.gov/vuln/detail/CVE-2025-5062), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2025-5062 · Whole record: https://cve.day/CVE-2025-5062.json · Rebuilt by cve.day 2026-11-25T22:58:58.379Z
