The package fastify-csrf before 3.0.0 has a set of issues that affect its ability to do CSRF protection.
cookieOpts: { path: '/', sameSite: true }{
"cwe_ids": [
"CWE-352"
],
"github_reviewed": true,
"github_reviewed_at": "2021-01-20T19:49:01Z",
"nvd_published_at": "2021-01-19T15:15:00Z",
"severity": "HIGH"
}