Lucene search

K
osvGoogleOSV:GHSA-49WP-QQ6X-G2RF
HistoryJan 20, 2021 - 9:30 p.m.

Cross-site Request Forgery in fastify-csrf

2021-01-2021:30:34
Google
osv.dev
7

0.002 Low

EPSS

Percentile

59.5%

The package fastify-csrf before 3.0.0 has a set of issues that affect its ability to do CSRF protection.

  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
CPENameOperatorVersion
fastify-csrflt3.0.0

0.002 Low

EPSS

Percentile

59.5%

Related for OSV:GHSA-49WP-QQ6X-G2RF