Lucene search

K
osvGoogleOSV:GHSA-H9WQ-XCQX-MQXM
HistoryJul 11, 2023 - 10:46 p.m.

Vendure Cross Site Request Forgery vulnerability impacting all API requests

2023-07-1122:46:19
Google
osv.dev
15
vendure
csrf
vulnerability
api requests
insecure
cookie settings
samesite
configuration
patches
workarounds
authorization
e-commerce
graphql
framework

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.sameSite configuration option to 'strict', 'lax' or true.

References

Are there any links users can visit to find out more?