In short
- CVE-2020-28482 is a HIGH (CVSS 8.8) vulnerability affecting fastify-csrf (fastify), fastify-csrf.
- Chance of exploitation in the next 30 days (EPSS): 0.99%, higher than 62.6% of all vulnerabilities.
- Fix: update to 3.0.0 or later.
Description
The package fastify-csrf before 3.0.0 has a set of issues that affect its ability to do CSRF protection.
- The generated cookie used insecure defaults, and did not have the httpOnly flag on:
cookieOpts: { path: '/', sameSite: true }
- The CSRF token was available in the GET query parameter
NVD 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
More vulnerabilities in fastify-csrf
See all →Running one of these products? Scan your site to see whether it exposes a vulnerable version.
Scan my site free