Skip to content
OpenAdvisories
Medium · 5.9 CVE-2020-28482 EUVD-2021-0487GHSA-49wp-qq6x-g2rfSNYK-JS-FASTIFYCSRF-1062044

Cross-site Request Forgery (CSRF)

Published Jan 19, 2021 · Updated Sep 16, 2024 · Assigned by snyk

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

VendorProductAffectedFixed
— fastify-csrf unspecified – < 3.0.0 3.0.0

Affected packages

EcosystemPackageAffectedFixedRecord
npm fastify-csrf < 3.0.0 3.0.0 GHSA-49wp-qq6x-g2rf

References