High severity · published Jan 19, 2021
CVE-2020-28482
This affects the package fastify-csrf before 3.0.0
8.8
CVSS
1%
EPSS
No
On KEV
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 vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
Attack vector
Network
Complexity
Low
Privileges
None
User interaction
Required
Confidentiality
High
Integrity
High
Availability
High
Scope
Unchanged
Exploitation
Is it being used?
Exploit prediction (EPSS)1.0% · higher than 62% of CVEs
Exploited in the wildNo evidence yet
CISA KEVNot listed
Ransomware campaign useNot known
Affected products
Which versions
FA
Fastify-csrf · Fastify
before 3.0.0 · source: NVD
References
NVD
https://nvd.nist.gov/vuln/detail/CVE-2020-28482
CVE.org
https://www.cve.org/CVERecord?id=CVE-2020-28482
Third Party Advisory
https://github.com/fastify/fastify-csrf/pull/26
Third Party Advisory
https://snyk.io/vuln/SNYK-JS-FASTIFYCSRF-1062044
More from Fastify-csrf
6.5
CVE-2021-29624
fastify-csrf is an open-source plugin helps developers protect their Fastify server against CSRF attacks
