Advisory Database
  • Advisories
  • Dependency Scanning
  1. npm
  2. ›
  3. csrf-csrf
  4. ›
  5. GMS-2022-5273

GMS-2022-5273: Incorrect default cookie name and recommendation

October 10, 2022

The default cookie name (and documentation recommendation) was prefixed with Host__ instead of __Host-.

References

  • github.com/Psifi-Solutions/csrf-csrf/commit/8f1ce8db97d945a4bb7f39f0b43c6041fa83d675
  • github.com/Psifi-Solutions/csrf-csrf/security/advisories/GHSA-jjmg-x456-w976
  • github.com/advisories/GHSA-jjmg-x456-w976

Code Behaviors & Features

Detect and mitigate GMS-2022-5273 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.2.1

Fixed versions

  • 2.2.1

Solution

Upgrade to version 2.2.1 or above.

Source file

npm/csrf-csrf/GMS-2022-5273.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:02 +0000.