{"id":"CVE-2024-37297","published":"2024-06-12T15:05:46Z","modified":"2024-08-02T03:50:56Z","title":"WooCommerce has a Cross-Site Scripting Vulnerability in checkout & registration forms","vendor":"woocommerce","product":"woocommerce","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":5.4,"severity":"MEDIUM","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00886,"percentile":0.57049,"provenance":"source"},"cwes":[{"id":"CWE-79","name":"Improper Neutralization of Input During Web Page Generation"},{"id":"CWE-80","name":"Improper Neutralization of Script-Related HTML Tags in a Web Page"}],"references":[{"url":"https://github.com/woocommerce/woocommerce/security/advisories/GHSA-cv23-q6gh-xfrf","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/woocommerce/woocommerce/commit/0e9888305d0cb9557e58f558526ab11cb3bcc4b4","tags":["x_refsource_MISC"]},{"url":"https://github.com/woocommerce/woocommerce/commit/915e32a42762916b745a7e663c8b69a698da8b67","tags":["x_refsource_MISC"]},{"url":"https://developer.woocommerce.com/2024/06/10/developer-advisory-xss-vulnerability-8-8-0","tags":["x_refsource_MISC"]}],"priority":{"score":15.2,"factors":[{"name":"EPSS percentile","points":11.41},{"name":"CVSS severity","points":3.78}]},"vendorSlug":"woocommerce","affectedVersions":[{"vendor":"woocommerce","product":"woocommerce","versions":[">= 8.8.0, < 8.8.5",">= 8.9.0, < 8.9.3"]}],"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial","timestamp":"2024-06-13T19:59:12.949157Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"Packagist","package":"woocommerce/woocommerce","vulnerableRanges":[">=8.8.0, <8.8.5",">=8.9.0, <8.9.3"],"patched":["8.8.5","8.9.3"],"from":["GHSA-cv23-q6gh-xfrf"],"provenance":"source"}],"summary":{"text":"A cross-site scripting flaw in WooCommerce's classic checkout and registration forms, introduced in version 8.8, arises because the URL content read by the Sourcebuster.js library is inserted into those forms without proper sanitization. An attacker who lures a user to a manipulated link that carries malicious HTML and JavaScript could run script in the victim's browser, potentially hijacking browser-stored data and the session, and this requires the victim to be persuaded to follow the link (the payload is not stored server-side).","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T21:52:51Z"},"euvd":{"id":"EUVD-2024-2028","exploited":false,"provenance":"source"}}