Advisory Database
  • Advisories
  • Dependency Scanning
  1. npm
  2. ›
  3. @vendure/core
  4. ›
  5. GMS-2023-1880

GMS-2023-1880: Vendure Cross Site Request Forgery vulnerability impacting all API requests

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

References

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

References

  • github.com/advisories/GHSA-h9wq-xcqx-mqxm
  • github.com/vendure-ecommerce/vendure/commit/4a10d6785a3bf792ddf84053cdf232c205b82c81
  • github.com/vendure-ecommerce/vendure/security/advisories/GHSA-h9wq-xcqx-mqxm

Code Behaviors & Features

Detect and mitigate GMS-2023-1880 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions before 2.0.3

Fixed versions

  • 2.0.3

Solution

Upgrade to version 2.0.3 or above.

Source file

npm/@vendure/core/GMS-2023-1880.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Wed, 14 May 2025 12:15:55 +0000.