{"schemaVersion":1,"url":"https://cve.openhack.com/cve/CVE-2024-37297","id":"CVE-2024-37297","title":"WooCommerce has a Cross-Site Scripting Vulnerability in checkout & registration forms","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 th","descriptionLong":"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.","published":"2024-06-12T15:05:46.468Z","updated":"2026-11-11T10:30:50.279690351Z","reserved":"2024-06-05T20:10:46.496Z","status":"Modified","rejected":false,"assigner":"GitHub_M","metric":{"version":"3.1","score":5.4,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N","rating":"medium","source":"GitHub_M"},"metrics":[{"version":"3.1","score":5.4,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N","rating":"medium","source":"GitHub_M"},{"version":"3.1","score":5.4,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N","rating":"medium","source":"github.com"},{"version":"3.1","score":5.4,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N","rating":"medium","source":"NVD"},{"version":"3.1","score":5.4,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N","rating":"medium","source":"OSV"},{"version":"3.1","score":5.4,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N","rating":"medium","source":"GitHub"}],"rating":"medium","products":["woocommerce"],"affectedProducts":[{"vendor":"woocommerce","product":"woocommerce","defaultStatus":null,"versions":[{"version":">= 8.8.0, < 8.8.5","status":"affected"},{"version":">= 8.9.0, < 8.9.3","status":"affected"}],"platforms":[]}],"packages":[{"ecosystem":"Packagist","name":"woocommerce/woocommerce","purl":"pkg:composer/woocommerce/woocommerce","ranges":[">=8.8.0 <8.8.5",">=8.9.0 <8.9.3"],"fixed":["8.8.5","8.9.3"],"advisory":"GHSA-cv23-q6gh-xfrf"}],"cwes":["CWE-79","CWE-80"],"aliases":["GHSA-cv23-q6gh-xfrf"],"references":[{"url":"https://github.com/woocommerce/woocommerce/security/advisories/GHSA-cv23-q6gh-xfrf","tags":["x_refsource_CONFIRM","x_transferred","Patch","advisory","web"]},{"url":"https://github.com/woocommerce/woocommerce/commit/0e9888305d0cb9557e58f558526ab11cb3bcc4b4","tags":["x_refsource_MISC","x_transferred","Patch","fix","web"]},{"url":"https://github.com/woocommerce/woocommerce/commit/915e32a42762916b745a7e663c8b69a698da8b67","tags":["x_refsource_MISC","x_transferred","Patch","fix","web"]},{"url":"https://developer.woocommerce.com/2024/06/10/developer-advisory-xss-vulnerability-8-8-0","tags":["x_refsource_MISC","x_transferred","Press/Media Coverage","advisory","web"]},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/37xxx/CVE-2024-37297.json","tags":["advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2024-37297","tags":["advisory"]},{"url":"https://github.com/woocommerce/woocommerce","tags":["package"]}],"patchReferenced":true,"fixAvailable":true,"exploitReferenced":false,"kev":false,"kevAdded":null,"kevDue":null,"kevEntry":null,"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial"},"epss":0.00483,"epssPercentile":0.42388,"sources":[{"name":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2024-37297","ok":true},{"name":"NVD","url":"https://nvd.nist.gov/vuln/detail/CVE-2024-37297","ok":true,"note":"Modified"},{"name":"OSV","url":"https://osv.dev/vulnerability/CVE-2024-37297","ok":true,"note":"1 package"},{"name":"GitHub Advisory","url":"https://github.com/advisories/GHSA-cv23-q6gh-xfrf","ok":true,"note":"GHSA-cv23-q6gh-xfrf"},{"name":"CISA KEV","url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","ok":true,"note":"not listed"},{"name":"EPSS","url":"https://api.first.org/data/v1/epss?cve=CVE-2024-37297","ok":true,"note":"scored 2026-11-19"}],"aiTitle":false,"tech":[],"critical":[],"attention":null}