Skip to content

CVE-2020-28482 Cross-site Request Forgery (CSRF)

HighCVSS 8.8 EPSS 0.99%
Published
Updated
Exploit status
No public exploit known

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

ProductAffected versionsFixed in
npm fastify-csrf(npm) < 3.0.0 3.0.0
fastify-csrf < 3.0.0 3.0.0

References