CVE-2025-5062Woocommerce
Medium 6.1 No auth needed
Follow: this CVE · Woocommerce · Woocommerce We alert you by email or Slack (account required).
- Priority
- 52
- CVSS 3.1
- 6.1
- EPSS
- —
- Auth required
- No
- Published
- May 22, 2025
- Updated
- Jun 17, 2026
- Category
- Application · Cross-platform
- Weakness (CWE)
- CWE-79
- SSVC (CISA)
- Exploitation: none · Automatable: no · Technical impact: partial
- Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
What happens
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.
What to do
- Apply the vendor's security update for Woocommerce.
- It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.
Affected products (CPE)
| Vendor | Product | Versions |
|---|---|---|
| woocommerce | woocommerce | < 9.3.4 |
| woocommerce | woocommerce | ≥ 9.4.0 < 9.4.3 |
Official sources
References
Links published by the sources. Open them with care.
- developer.woocommerce.com Release Notes
- github.com Product
- github.com Product
- www.wordfence.com Third Party Advisory