{"id":"GHSA-h9wq-xcqx-mqxm","aliases":[],"status":"published","title":"Vendure Cross Site Request Forgery vulnerability impacting all API requests","description":"### 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?_","facts":{"in_kev":false,"known_exploited":false,"public_exploit":false,"fix_available":true},"published":"2023-07-11T22:46:19Z","modified":"2023-07-11T22:46:20Z","fixes":[{"ecosystem":"npm","package":"@vendure/core","fixed_in":["2.0.3"],"sources":["ghsa","osv"]}],"affected":[{"source":"ghsa","ecosystem":"npm","package":"@vendure/core","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.0.3"}]}]},{"source":"osv","ecosystem":"npm","package":"@vendure/core","ranges":[{"type":"SEMVER","events":[{"introduced":"0"},{"fixed":"2.0.3"}]}]}],"references":[{"url":"https://github.com/vendure-ecommerce/vendure/security/advisories/GHSA-h9wq-xcqx-mqxm","tags":["web"]},{"url":"https://github.com/vendure-ecommerce/vendure/commit/4a10d6785a3bf792ddf84053cdf232c205b82c81","tags":["web"]},{"url":"https://github.com/advisories/GHSA-h9wq-xcqx-mqxm"},{"url":"https://github.com/vendure-ecommerce/vendure","tags":["package"]}],"sources":{"ghsa":[{"id":"GHSA-h9wq-xcqx-mqxm","title":"Vendure Cross Site Request Forgery vulnerability impacting all API requests","description":"### 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?_\n","status":"published","published":"2023-07-11T22:46:19Z","modified":"2023-07-11T22:46:20Z","updated_at":"2026-11-02T14:36:56.605555Z"}],"osv":[{"id":"GHSA-h9wq-xcqx-mqxm","title":"Vendure Cross Site Request Forgery vulnerability impacting all API requests","description":"### 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?_\n","status":"published","published":"2023-07-11T22:46:19Z","modified":"2023-07-11T22:46:19Z","updated_at":"2026-11-02T15:46:48.920784Z"}]}}
