5.4
MEDIUM
CVE-2024-37297
WooCommerce Cross-Site Scripting (XSS) Vulnerability
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.

INFO

Published Date :

June 12, 2024, 3:15 p.m.

Last Modified :

July 23, 2024, 8:19 p.m.

Remotely Exploitable :

Yes !

Impact Score :

2.7

Exploitability Score :

2.3
Affected Products

The following products are affected by CVE-2024-37297 vulnerability. Even if cvefeed.io is aware of the exact versions of the products that are affected, the information is not represented in the table below.

ID Vendor Product Action
1 Woocommerce woocommerce
References to Advisories, Solutions, and Tools

We scan GitHub repositories to detect new proof-of-concept exploits. Following list is a collection of public exploits and proof-of-concepts, which have been published on GitHub (sorted by the most recently updated).

Results are limited to the first 15 repositories due to potential performance issues.

The following list is the news that have been mention CVE-2024-37297 vulnerability anywhere in the article.

The following table lists the changes that have been made to the CVE-2024-37297 vulnerability over time.

Vulnerability history details can be useful for understanding the evolution of a vulnerability, and for identifying the most recent changes that may impact the vulnerability's severity, exploitability, or other characteristics.

  • Initial Analysis by [email protected]

    Jul. 23, 2024

    Action Type Old Value New Value
    Added CVSS V3.1 NIST AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N
    Changed Reference Type https://developer.woocommerce.com/2024/06/10/developer-advisory-xss-vulnerability-8-8-0 No Types Assigned https://developer.woocommerce.com/2024/06/10/developer-advisory-xss-vulnerability-8-8-0 Press/Media Coverage
    Changed Reference Type https://github.com/woocommerce/woocommerce/commit/0e9888305d0cb9557e58f558526ab11cb3bcc4b4 No Types Assigned https://github.com/woocommerce/woocommerce/commit/0e9888305d0cb9557e58f558526ab11cb3bcc4b4 Patch
    Changed Reference Type https://github.com/woocommerce/woocommerce/commit/915e32a42762916b745a7e663c8b69a698da8b67 No Types Assigned https://github.com/woocommerce/woocommerce/commit/915e32a42762916b745a7e663c8b69a698da8b67 Patch
    Changed Reference Type https://github.com/woocommerce/woocommerce/security/advisories/GHSA-cv23-q6gh-xfrf No Types Assigned https://github.com/woocommerce/woocommerce/security/advisories/GHSA-cv23-q6gh-xfrf Patch
    Added CWE NIST CWE-79
    Added CPE Configuration OR *cpe:2.3:a:woocommerce:woocommerce:*:*:*:*:*:wordpress:*:* versions from (including) 8.8 up to (excluding) 8.8.5 *cpe:2.3:a:woocommerce:woocommerce:*:*:*:*:*:wordpress:*:* versions from (including) 8.9.0 up to (excluding) 8.9.3
  • CVE Received by [email protected]

    Jun. 12, 2024

    Action Type Old Value New Value
    Added 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.
    Added Reference GitHub, Inc. https://github.com/woocommerce/woocommerce/security/advisories/GHSA-cv23-q6gh-xfrf [No types assigned]
    Added Reference GitHub, Inc. https://github.com/woocommerce/woocommerce/commit/0e9888305d0cb9557e58f558526ab11cb3bcc4b4 [No types assigned]
    Added Reference GitHub, Inc. https://github.com/woocommerce/woocommerce/commit/915e32a42762916b745a7e663c8b69a698da8b67 [No types assigned]
    Added Reference GitHub, Inc. https://developer.woocommerce.com/2024/06/10/developer-advisory-xss-vulnerability-8-8-0 [No types assigned]
    Added CWE GitHub, Inc. CWE-79
    Added CWE GitHub, Inc. CWE-80
    Added CVSS V3.1 GitHub, Inc. AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N
EPSS is a daily estimate of the probability of exploitation activity being observed over the next 30 days. Following chart shows the EPSS score history of the vulnerability.
CWE - Common Weakness Enumeration

While CVE identifies specific instances of vulnerabilities, CWE categorizes the common flaws or weaknesses that can lead to vulnerabilities. CVE-2024-37297 is associated with the following CWEs:

CVSS31 - Vulnerability Scoring System
Attack Vector
Attack Complexity
Privileges Required
User Interaction
Scope
Confidentiality
Integrity
Availability