{"schema":"/api/v1/schema/cve.json","api_version":"1","id":"CVE-2024-37297","published":"2024-06-12T15:15:52.677000Z","last_modified":"2026-06-17T07:38:05.597000Z","status":"Modified","cvss":{"version":"3.1","score":5.4,"severity":"MEDIUM","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N","source":"nvd@nist.gov","primary":true},"auth":true,"cwes":["CWE-79","CWE-80"],"cpes":[{"criteria":"cpe:2.3:a:woocommerce:woocommerce:*:*:*:*:*:wordpress:*:*","part":"a","vendor":"woocommerce","product":"woocommerce","version_start_including":"8.8","version_end_excluding":"8.8.5"},{"criteria":"cpe:2.3:a:woocommerce:woocommerce:*:*:*:*:*:wordpress:*:*","part":"a","vendor":"woocommerce","product":"woocommerce","version_start_including":"8.9.0","version_end_excluding":"8.9.3"}],"cpes_truncated":false,"vendors":["woocommerce"],"products":["woocommerce/woocommerce"],"ssvc":{"exploitation":"none","automatable":"no","technical_impact":"partial"},"epss":{"score":0.00886,"percentile":0.57121,"date":"2026-11-30","model_version":"v2026.06.15"},"cat":"app","platform":"multi","eol":false,"packages":[{"advisory":"GHSA-cv23-q6gh-xfrf","ecosystem":"Packagist","name":"woocommerce/woocommerce","purl":"pkg:composer/woocommerce/woocommerce","ranges":[{"introduced":"8.8.0","fixed":"8.8.5"}],"versions":[],"versions_truncated":false},{"advisory":"GHSA-cv23-q6gh-xfrf","ecosystem":"Packagist","name":"woocommerce/woocommerce","purl":"pkg:composer/woocommerce/woocommerce","ranges":[{"introduced":"8.9.0","fixed":"8.9.3"}],"versions":[],"versions_truncated":false}],"severity":"medium","priority_score":32,"links":{"html_es":"/es/cve/CVE-2024-37297/","html_en":"/en/cve/CVE-2024-37297/","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2024-37297","cve_org":"https://www.cve.org/CVERecord?id=CVE-2024-37297"},"untrusted":{"vendor_name":"Woocommerce","product_name":"Woocommerce","desc_en":"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.","affected":[{"untrusted_vendor":"woocommerce","untrusted_product":"woocommerce","versions":[]}],"references":[{"url":"https://developer.woocommerce.com/2024/06/10/developer-advisory-xss-vulnerability-8-8-0","tags":["Press/Media Coverage"]},{"url":"https://github.com/woocommerce/woocommerce/commit/0e9888305d0cb9557e58f558526ab11cb3bcc4b4","tags":["Patch"]},{"url":"https://github.com/woocommerce/woocommerce/commit/915e32a42762916b745a7e663c8b69a698da8b67","tags":["Patch"]},{"url":"https://github.com/woocommerce/woocommerce/security/advisories/GHSA-cv23-q6gh-xfrf","tags":["Patch"]}]}}