CVE-2024-37297CWE-79CWE-80

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

Medium · published June 12, 2024

CVSS v3.1
5.4
EPSS
0%
Percentile
40.7
In the wild
Unconfirmed
What it is

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.

The record
Technical detail
CVSS v3.1
5.4 · MEDIUM
Vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N
CVSS v4.0
Not supplied
EPSS
0.00483 · 40.7th percentile
Weaknesses
CWE-79 · Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting'); CWE-80 · Improper Neutralization of Script-Related HTML Tags in a Web Page (Basic XSS)
Published
2024-06-12T15:05Z
EPSS history
Timeline
  • 12 JUN 15:05Z
    WooCommerce has a Cross-Site Scripting Vulnerability in checkout & registration forms
    cvelistv5