Free and open · new CVEs checked every 20 minutesStatusRSSOpen dataContact

CVE-2024-37297: WooCommerce is an open-source e-commerce platform built on WordPress

29
Routine
MEDIUM 5.4UPGRADE

CVE-2024-37297 is a medium-severity flaw (CVSS 5.4) affecting woocommerce. Below: why it ranks where it does, which versions are affected, what to do, and the exact commands.

WooCommerce is an open-source e-commerce platform built on WordPress. A vulnerability introduced in WooCommerce 8.8 allows for cross-site scripting. A bad actor can manipulate a link to include malicious HTML & JavaScript content. While the content is not saved to the database, the links may be sent to victims for malicious purposes. The injected JavaScript could hijack content & data stored in the browser, including the session. The URL content

Why this priority

  • No elevated risk signals yet

A fixed release or distro patch exists.

Risk facts

CVSS score5.4 (Medium)
Attack vectorNetwork (remote)
Attack complexityLow
Privileges neededLow
User interactionRequired
EPSS exploit chance0.5% (top 58%)
CISA exploited listNo
WeaknessCWE-79, CWE-80
Published2024-06-12
Last modified2026-06-17
Publisher (CNA): GitHub, Inc. · 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: >= 8.8 and < 8.8.5 · >= 8.9.0 and < 8.9.3
Fixed in: 8.8.5, 8.9.3
Safe to downgrade to: a release before 8.8
1. Check installed version
apt-cache policy woocommerce || rpm -q woocommerce || woocommerce --version
2. UPGRADE to 8.8.5 (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 8.8 (Debian / Ubuntu)
apt-cache madison woocommerce sudo apt install woocommerce=<VERSION_BEFORE_8.8> 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_8.8> 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-2024-37297?

woocommerce: upgrade to 8.8.5, 8.9.3. Exact commands for each OS are on this page.

Is CVE-2024-37297 being exploited?

CVE-2024-37297 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-2024-37297 affect?

CVE-2024-37297 affects woocommerce. Severity is medium (CVSS 5.4). WooCommerce is an open-source e-commerce platform built on WordPress. A vulnerability introduced in WooCommerce 8.8 allows for cross-site scripting. A bad actor can manipulate a link to include malicious HTML & JavaScript content. While the

How urgent is CVE-2024-37297?

Priority 29/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.