5.9
Medium
CVE-2020-28482 This affects the package fastify-csrf before 3.0.0
Description
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
Affected products and versions
| Product | Affected versions | Fixed in |
|---|---|---|
| fastify-csrf 3.0 | earliest → < 3.0.0 | 3.0.0 |