Back
CVE-2020-28482
Cross-site Request Forgery (CSRF)
Medium5.9EPSS 0.99%
- Published
- Updated
- Reserved
- Assigned by
- snyk
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
Scores
| Scored by | CVSS | Score | Vector |
|---|---|---|---|
| snykCNA (assigner) | 3.1 | Medium5.9 | CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:L/A:N |
| NVDNVD · Modified | 3.1 | High8.8 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H |
- EPSS (exploitation in 30 days)
- 0.99% · top 37% of all CVEs (6 Nov 2026)
Loading the EPSS history…
The list uses the assigner's score when there is one, then CISA's, then NVD's: Medium 5.9.
Weakness
- Cross-site Request Forgery (CSRF)
- CWE-200 (opens in a new tab)All about CWE-200 and its CVEs
- CWE-732 (opens in a new tab)All about CWE-732 and its CVEs
Affected products
fastify-csrf
- affected unspecified – < 3.0.0
Affected packages
From reviewed advisories of the GitHub Advisory Database.
- npmfastify-csrfGHSA-49wp-qq6x-g2rf (opens in a new tab)
References (2)
- https://snyk.io/vuln/SNYK-JS-FASTIFYCSRF-1062044 (opens in a new tab)x_refsource_MISCx_transferred
- https://github.com/fastify/fastify-csrf/pull/26 (opens in a new tab)x_refsource_MISCx_transferred
Sources
The same CVE in the primary databases and aggregators, to check against.
- CVE.org record (opens in a new tab)
- CVE List JSON (GitHub) (opens in a new tab)
- NVD (opens in a new tab)
- FIRST EPSS (opens in a new tab)
- OSV.dev (opens in a new tab)
- GitHub Advisory GHSA-49wp-qq6x-g2rf (opens in a new tab)
- CIRCL Vulnerability-Lookup (opens in a new tab)
Badge for a README or a ticket
[](https://trackcve.app/cve/CVE-2020-28482)Record last updated .