Advisory Database
  • Advisories
  • Dependency Scanning
  1. npm
  2. ›
  3. fastify-csrf
  4. ›
  5. CVE-2020-28482

CVE-2020-28482: Cross-Site Request Forgery (CSRF)

January 19, 2021 (updated January 27, 2021)

The generated cookie uses insecure defaults, and does not have the httpOnly flag on cookieOpts: { path: '/', sameSite: true }. Additionally, the CSRF token is available in the GET query parameter.

References

  • nvd.nist.gov/vuln/detail/CVE-2020-28482

Code Behaviors & Features

Detect and mitigate CVE-2020-28482 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 3.0.0

Fixed versions

  • 3.0.0

Solution

Upgrade to version 3.0.0 or above.

Impact 8.8 HIGH

CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H

Learn more about CVSS

Weakness

  • CWE-352: Cross-Site Request Forgery (CSRF)

Source file

npm/fastify-csrf/CVE-2020-28482.yml

Spotted a mistake? Edit the file on GitLab.

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

Page generated Wed, 14 May 2025 12:16:13 +0000.