CVE-2024-37297
published medium CVSS 3.1 · 5.4WooCommerce has a Cross-Site Scripting Vulnerability in checkout & registration forms
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| woocommerce | — | woocommerce>= 8.8.0, < 8.8.5 · >= 8.9.0, < 8.9.3 | Affected | Not stated | GitHub_M |
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.1
- Base score
- 5.4 / 10
- Severity
- medium
- Provider
- GitHub_M · cna
- Vector string
- CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| woocommerce | woocommerce | >= 8.8.0, < 8.8.5 (affected)>= 8.9.0, < 8.9.3 (affected) | GitHub_M · cna |
Weaknesses
2- CWE-79 CWE-79: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')
- CWE-80 CWE-80: Improper Neutralization of Script-Related HTML Tags in a Web Page (Basic XSS)
References
4- https://developer.woocommerce.com/2024/06/10/developer-advisory-xss-vulnerability-8-8-0
- https://github.com/woocommerce/woocommerce/commit/0e9888305d0cb9557e58f558526ab11cb3bcc4b4
- https://github.com/woocommerce/woocommerce/commit/915e32a42762916b745a7e663c8b69a698da8b67
- https://github.com/woocommerce/woocommerce/security/advisories/GHSA-cv23-q6gh-xfrf
Provider assertions
3GitHub_M · cna
WooCommerce has a Cross-Site Scripting Vulnerability in checkout & registration forms
CISA-ADP · adp
CISA ADP Vulnrichment
CVE · adp
CVE Program Container
Provenance
- Schema
- 5.1
- Searchable
- yes
- Content hash
- 10902638c46a8f4af3e0abf05f3cd095093001fd87fb67d41a8766493bd2c514
- Ingested
- 23 Sep 2026, 08:24:20 UTC
- Source record
- Official CVE record