All reports
High

Cross-site Request Forgery in fastify-csrf

Affected versions

Affected versions
< 3.0.0
Fixed version
3.0.0

Exploitation

CVE-2020-28482

Probability of exploitation in the next 30 days: 0.99%

FIRST EPSS · 2026-11-22

Description

The package fastify-csrf before 3.0.0 has a set of issues that affect its ability to do CSRF protection.

  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

Links