{"id":"GHSA-h9wq-xcqx-mqxm","aliases":["GHSA-h9wq-xcqx-mqxm"],"related":[],"kind":"vulnerability","state":"published","title":"Vendure Cross Site Request Forgery vulnerability impacting all API requests","summary":"### Impact\nVendure is an e-commerce GraphQL framework with a number of APIs and different levels of\nauthorization. By default the Cookie settings are insecure, having the SameSite setting as false\nwhich results in not having one (originates from the cookie-session npm package’s default\nsettings).\n\n### Patches\nIn progress\n\n### Workarounds\nManually set the `authOptions.cookieOptions.sameSite` configuration option to `'strict'`, `'lax'` or `true`.\n\n### References\n_Are there any links users can visit to find out more?_","summaryFormat":"markdown","summarySource":"ghsa","descriptions":[{"lang":"en","text":"### Impact\nVendure is an e-commerce GraphQL framework with a number of APIs and different levels of\nauthorization. By default the Cookie settings are insecure, having the SameSite setting as false\nwhich results in not having one (originates from the cookie-session npm package’s default\nsettings).\n\n### Patches\nIn progress\n\n### Workarounds\nManually set the `authOptions.cookieOptions.sameSite` configuration option to `'strict'`, `'lax'` or `true`.\n\n### References\n_Are there any links users can visit to find out more?_","format":"markdown","source":"ghsa"}],"published":"2023-07-11T22:46:19.000Z","modified":"2023-07-11T22:46:19.000Z","severity":{"scorer":"GitHub","scheme":"rating","rating":"LOW"},"severities":[{"scorer":"GitHub","scheme":"rating","rating":"LOW"}],"cwes":[],"affected":[{"ranges":[{"type":"semver","introduced":"0","status":"affected","fixed":"2.0.3"}],"ecosystem":"npm","package":"@vendure/core","purl":"pkg:npm/%40vendure/core","source":"ghsa"}],"references":[{"url":"https://github.com/vendure-ecommerce/vendure/security/advisories/GHSA-h9wq-xcqx-mqxm","tags":["web"],"sources":["ghsa"]},{"url":"https://github.com/vendure-ecommerce/vendure/commit/4a10d6785a3bf792ddf84053cdf232c205b82c81","tags":["web"],"sources":["ghsa"]},{"url":"https://github.com/vendure-ecommerce/vendure","tags":["package"],"sources":["ghsa"]}],"credits":[],"sources":[{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-h9wq-xcqx-mqxm","url":"https://github.com/advisories/GHSA-h9wq-xcqx-mqxm","licence":"CC-BY-4.0","modified":"2023-07-11T22:46:19.000Z"}],"updatedAt":"2026-11-25T22:56:45.570Z"}