Free and open · new CVEs checked every 20 minutesStatusRSSOpen dataContact

CVE-2025-5062: The WooCommerce plugin for WordPress is vulnerable to PostMessage-Based Cross-Site Scripting via the 'customiz

31
Routine
MEDIUM 6.1UPGRADE

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 score6.1 (Medium)
Attack vectorNetwork (remote)
Attack complexityLow
Privileges neededNone
User interactionRequired
EPSS exploit chance0.5% (top 60%)
CISA exploited listNo
WeaknessCWE-79
Published2025-05-22
Last modified2026-06-17
Publisher (CNA): Wordfence · Vendor: woocommerce

Share: LinkedIn · X · Reddit

Last updated 2026-06-17 · Sources: CVE Program, NVD, CISA KEV, EPSS and vendor advisories · How we score

Am I affected?

Timeline

woocommerce woocommerce UPGRADE
Affected: < 9.3.4 · >= 9.4.0 and < 9.4.3
Fixed in: 9.3.4, 9.4.3
Safe to downgrade to: a release before 9.4.0
1. Check installed version
apt-cache policy woocommerce || rpm -q woocommerce || woocommerce --version
2. UPGRADE to 9.3.4 (Debian / Ubuntu)
sudo apt update && sudo apt install --only-upgrade woocommerce
2. UPGRADE (RHEL / Amazon Linux / Fedora)
sudo dnf upgrade woocommerce
Note
Distros often backport fixes without changing the version number. Confirm with the distro advisory or changelog.
3. If no update is available yet, DOWNGRADE to a release before 9.4.0 (Debian / Ubuntu)
apt-cache madison woocommerce sudo apt install woocommerce=<VERSION_BEFORE_9.4.0> sudo apt-mark hold woocommerce
3. If no update is available yet, DOWNGRADE (RHEL / Amazon Linux / Fedora)
dnf --showduplicates list woocommerce sudo dnf downgrade woocommerce-<VERSION_BEFORE_9.4.0> sudo dnf versionlock add woocommerce
Downgrade risk
Downgrading can break dependent software and may reopen older bugs. Read the distro advisory first and test on a non-production host.
After downgrade
Restart the service, and keep the package held until a fixed release ships.
Verify at the official source NVD · CVE Program · Report a problem with this page
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

References

← Back to latest CVEs

Get the weekly exploited-CVE digest by emailThe CVEs being attacked this week and how to fix them. No spam, unsubscribe any time.