Read the docs
TI-2020-17292 Aliases CVE-2020-28482GHSA-49wp-qq6x-g2rf

Cross-site request forgery (CSRF) in fastify-csrf

Priority MEDIUM 40CWE-200Published · Updated

Key facts

Attack vector
Network
Privileges required
None
User interaction
Required
Attack complexity
Low
Impact type
Information disclosure, Tampering
Confidentiality · integrity · availability
High · High · High
Fix status
Fixed

Attack profile from CVSS 3.1 · NVD. Fix status from CNA and GitHub. Impact type from CWE-200 and CWE-352.

Summary

This affects the package fastify-csrf before 3.0.0. 1. The generated cookie used insecure defaults, and did not have the httpOnly flag on: cookieOpts: { path: '/', sameSite: true } 2. The CSRF token was available in the GET query parameter

Why it matters now

EPSS 0.00992 62nd percentileScored 2026-11-07
Fix Fixed fastify-csrf: 3.0.0fastify-csrf (npm): 3.0.0

SSVC decision points

Not available: CISA has not published SSVC decision points for this record.

Affected products

VendorProductAffected versionsFixed inStatusSource
—fastify-csrfbefore 3.0.03.0.0Patch availableCNA
—fastify-csrf (npm)before 3.0.03.0.0Patch availableGHSA-49wp-qq6x-g2rf
  • fastify-csrf Vendor— Affected before 3.0.0 Fixed in 3.0.0 Patch available CNA
  • fastify-csrf (npm) Vendor— Affected before 3.0.0 Fixed in 3.0.0 Patch available GHSA-49wp-qq6x-g2rf

CPE configurations NVD · 1

CPEVersionsRoleVendor
cpe:2.3:a:fastify:fastify-csrf:*:*:*:*:*:node.js:*:*before 3.0.0Vulnerablefastify
  • cpe:2.3:a:fastify:fastify-csrf:*:*:*:*:*:node.js:*:* Versions before 3.0.0 Vulnerable ·fastify

Remediation

  • Fix · CNA fastify-csrf Fixed in 3.0.0
  • Fix · GHSA-49wp-qq6x-g2rf fastify-csrf (npm) Fixed in 3.0.0 Advisory →

Timeline

  1. 2026-10-02 Threatist record created from CVE-2020-28482
  2. 2026-10-03 Alias added: GHSA-49wp-qq6x-g2rf

References

  • TI-2021-10332 Lack of protection against cookie tossing attacks in fastify-csrf CVSS 3.1MEDIUM 6.5

Sources