Skip to main content
← All vulnerabilities
CVE-2020-28482GHSA-49WP-QQ6X-G2RFSNYK-JS-FASTIFYCSRF-1062044

Cross-site Request Forgery (CSRF)

Published
Last modified
published
Not listed in CISA KEV
Fix
Fixed in 3.0.0
None on Exploit-DB, Metasploit or GitHub

Summary

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

Timeline

  1. CVE published
  2. Record last updated

Affected versions

  • n/a fastify-csrf

    fixed in 3.0.0

  • fastify-csrfnpm

    fixed in 3.0.0

References 2

snyk.io

GitHub · fastify/fastify-csrf