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
References
Link | Resource |
---|---|
https://snyk.io/vuln/SNYK-JS-FASTIFYCSRF-1062044 | Third Party Advisory |
https://github.com/fastify/fastify-csrf/pull/26 | Third Party Advisory |
Configurations
Information
Published : 2021-01-19 07:15
Updated : 2021-01-27 10:40
NVD link : CVE-2020-28482
Mitre link : CVE-2020-28482
JSON object : View
CWE
CWE-352
Cross-Site Request Forgery (CSRF)
Products Affected
fastify
- fastify-csrf