Insecure Defaults and CSRF Token Exposure in fastify-csrf before 3.0.0

Insecure Defaults and CSRF Token Exposure in fastify-csrf before 3.0.0

CVE-2020-28482 · HIGH Severity

CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H

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

Learn more about our Web Application Penetration Testing UK.