CVEvulnerability
CVE-2020-28482
8.8 HIGH
Official page ↗
- Status
- Modified
- Published
- 2021-01-19
- Last modified
- 2026-06-17
- Assigner
- [email protected]
- CVSS 3.1 ([email protected])
- 5.9 MEDIUM — CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:L/A:N
- CVSS 3.1 ([email protected])
- 8.8 HIGH — CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
- CVSS 2.0 ([email protected])
- 6.8 MEDIUM — AV:N/AC:M/Au:N/C:P/I:P/A:P
- Weaknesses
- CWE-200, CWE-732
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 configurations
• fastify fastify-csrf (< 3.0.0)
Related
References
- https://github.com/fastify/fastify-csrf/pull/26 Third Party Advisory
- https://snyk.io/vuln/SNYK-JS-FASTIFYCSRF-1062044 Third Party Advisory
- https://github.com/fastify/fastify-csrf/pull/26 Third Party Advisory
- https://snyk.io/vuln/SNYK-JS-FASTIFYCSRF-1062044 Third Party Advisory