Information disclosure in Fastify Fastify-Csrf
CVE-2020-28482
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
Vulnerability class: Information Disclosure
Published · last modified .
CVSS v3 metric
CVSS v3 base score 5.9 (Medium). Vector: CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:L/A:N.
EPSS exploit prediction
EPSS 0.010, 63.1th percentile (scored ); unchanged over 30 days. About EPSS.
Affected products
- Fastify Fastify-Csrf
- Fastify-Csrf — versions unspecified
Weakness classification (CWE)
References
- snyk.io/vuln/SNYK-JS-FASTIFYCSRF-1062044 (Third Party Advisory)
- github.com/fastify/fastify-csrf/pull/26 (Third Party Advisory)