CVE-2024-37297WooCommerce has a Cross-Site Scripting Vulnerability in checkout & registration forms
- 5.4MediumCVSS base score
- 0.48%Exploitation in 30 daysEPSS · top 58% of all CVEs
- NoKnown exploitednot in CISA's KEV catalog
- NonePublic exploitsnone known yet
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.
Timeline
ID reserved
By GitHub_M
- 7 days later
· 7 days later
Published
- 51 days later
· 51 days later
Record updated
Changes after publication (a new score, a public exploit, EPSS crossing 1, 10 or 50 %, leaving KEV) are kept since November 2026; earlier ones are not known.
Scores
| Scored by | CVSS | Score | Vector |
|---|---|---|---|
| GitHub_MCNA (assigner) | 3.1 | Medium5.4 | CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N |
| NVDNVD · Modified | 3.1 | Medium5.4 | CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N |
- EPSS (exploitation in 30 days)
- 0.48% · top 58% of all CVEs (19 Nov 2026)
- CISA SSVC
- Exploitation: none · Automatable: no · Technical impact: partial
The list uses the assigner's score when there is one, then CISA's, then NVD's: Medium 5.4.
Affected products
- affected >= 8.8.0, < 8.8.5
- affected >= 8.9.0, < 8.9.3
Affected packages
From reviewed advisories of the GitHub Advisory Database.
- Packagistwoocommerce/woocommerceGHSA-cv23-q6gh-xfrf (opens in a new tab)
References
References4
- https://github.com/woocommerce/woocommerce/security/advisories/GHSA-cv23-q6gh-xfrf (opens in a new tab)x_refsource_CONFIRMx_transferred
- https://github.com/woocommerce/woocommerce/commit/0e9888305d0cb9557e58f558526ab11cb3bcc4b4 (opens in a new tab)x_refsource_MISCx_transferred
- https://github.com/woocommerce/woocommerce/commit/915e32a42762916b745a7e663c8b69a698da8b67 (opens in a new tab)x_refsource_MISCx_transferred
- https://developer.woocommerce.com/2024/06/10/developer-advisory-xss-vulnerability-8-8-0 (opens in a new tab)x_refsource_MISCx_transferred
Sources
The same CVE in the primary databases and aggregators, to check against.
- CVE.org record (opens in a new tab)
- CVE List JSON (GitHub) (opens in a new tab)
- NVD (opens in a new tab)
- FIRST EPSS (opens in a new tab)
- EUVD EUVD-2024-2028 (opens in a new tab)
- OSV.dev (opens in a new tab)
- GitHub Advisory GHSA-cv23-q6gh-xfrf (opens in a new tab)
- CIRCL Vulnerability-Lookup (opens in a new tab)
Badge for a README or a ticket
[](https://cveledger.app/cve/CVE-2024-37297)Record last updated .