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. Dependency Scanning using SBOM also detects vulnerabilities from proprietary advisories that this site does not include. Learn more about Dependency Scanning using SBOM →

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 Sun, 08 Nov 2026 00:17:23 +0000.