# GHSA-h9wq-xcqx-mqxm: Vendure Cross Site Request Forgery vulnerability impacting all API requests

- Severity: Low (rating, scored by GitHub)
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Published: 2023-07-11T22:46:19.000Z
- Modified: 2023-07-11T22:46:19.000Z

## Description

### 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?_

(As written by GitHub Advisory Database.)

## Affected

- @vendure/core (npm): before 2.0.3

## References

- <https://github.com/vendure-ecommerce/vendure/security/advisories/GHSA-h9wq-xcqx-mqxm> (web)
- <https://github.com/vendure-ecommerce/vendure/commit/4a10d6785a3bf792ddf84053cdf232c205b82c81> (web)
- <https://github.com/vendure-ecommerce/vendure> (package)

## Sources

- GitHub Advisory Database: [GHSA-h9wq-xcqx-mqxm](https://github.com/advisories/GHSA-h9wq-xcqx-mqxm), CC-BY-4.0, modified 2023-07-11

---

Page: https://cve.day/GHSA-h9wq-xcqx-mqxm · Whole record: https://cve.day/GHSA-h9wq-xcqx-mqxm.json · Rebuilt by cve.day 2026-11-25T22:56:45.570Z
