CVE-2024-37297

WooCommerce has a Cross-Site Scripting Vulnerability in checkout & registration forms

MEDIUM
5.4
CVSS Score
Published: June 12, 2024 at 03:05 PM UTC
Updated: June 17, 2026 at 07:38 AM UTC
1 product affected across 1 vendorWoocommerce

Using woocommerce by woocommerce?

Get instant alerts when new vulnerabilities affect woocommerce - before attackers find them.

Real-time alertsTrack your software stackFree plan available
Severity
MEDIUM5.4
Exploit prediction
EPSS 0.5%
SSVC
No known exploit

Description

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 is read through the `Sourcebuster.js` library and then inserted without proper sanitization to the classic checkout and registration forms. Versions 8.8.5 and 8.9.3 contain a patch for the issue. As a workaround, one may disable the Order Attribution feature.

Affected

Our own answer: ranges merged, affected separated from platform-only, with confidence and review flags.

95%
v < 8.8.5v < 8.9.38.8 ≤ v < 8.8.58.9.0 ≤ v < 8.9.3
Affected range stops below 8.8.5, so it looks safe — our inference, not a vendor statement
Affected range stops below 8.9.3, so it looks safe — our inference, not a vendor statement

SSVC — Action Prioritization

SSVCNo known exploitNot automatablePartial impact

SSVC signals action urgency (what to patch first), separate from CVSS which measures severity.

CVSS

5.4MEDIUMGitHub_M
Attack Vector
NETWORK
Complexity
LOW
Privileges
LOW
User Interaction
REQUIRED
Scope
CHANGED
Confidentiality
LOW
Integrity
LOW
Availability
NONE
Vector?

Quick Info

StatusMODIFIED
CWE
CWE-79CWE-80

Get alerted

Stop reading CVE feeds looking for your own stack

Track the products you run and VulnTracker tells you when a new CVE affects them — with what is known about fixing it, and nothing about the rest.

Free plan, no card