VulnerabilityModified
CVE-2020-28482
This affects the package fastify-csrf before 3.0.0.
HIGH 8.8EPSS 0.98%
Does this matter?
High impact if exploited, but EPSS currently rates exploitation as unlikely (0.98%). Schedule it in the normal patch cycle and watch for a rise in EPSS or a public exploit.
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
- CVSS 3.1
- 8.8 HIGHCVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
- EPSS
- 0.98% probability · 60th percentile
- CISA KEV
- Not listed
- Weakness
- CWE-200, CWE-732
- Affected
- fastify/fastify-csrf
- Source
- report@snyk.io
References
- https://github.com/fastify/fastify-csrf/pull/26Third Party Advisory
- https://snyk.io/vuln/SNYK-JS-FASTIFYCSRF-1062044Third Party Advisory
- https://github.com/fastify/fastify-csrf/pull/26Third Party Advisory
- https://snyk.io/vuln/SNYK-JS-FASTIFYCSRF-1062044Third Party Advisory
Source: NVD record, EPSS from FIRST.org, KEV from CISA. Refreshed daily.