CVE-2020-28482Published Jan 19, 2021 · Jan 19Updated Oct 20
Cross-site Request Forgery (CSRF)
fastify-csrf
Medium5.9Fix available
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| fastify-csrf npm |
|
|
Original 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
From the CVE record · snyk