Vendure Cross Site Request Forgery vulnerability impacting all API requests
Description
Published to the GitHub Advisory Database
Jul 11, 2023
Reviewed
Jul 11, 2023
Last updated
Jul 11, 2023
Impact
Vendure is an e-commerce GraphQL framework with a number of APIs and different levels of
authorization. By default the Cookie settings are insecure, having the SameSite setting as false
which results in not having one (originates from the cookie-session npm package’s default
settings).
Patches
In progress
Workarounds
Manually set the
authOptions.cookieOptions.sameSiteconfiguration option to'strict','lax'ortrue.References
Are there any links users can visit to find out more?
References