Vulnerabilities · 2020 · Fastify
CVE-2020-28482
Fastify-csrf vulnerability
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 products
Fastify-csrf. The exact versions are in the references.
What to do now
- Check your exposureFind out whether Fastify-csrf runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Limit access until thenIf you cannot update at once, take the system off the internet or restrict who can reach it.
References
- github.com/fastify/fastify-csrf/pull/26 · Third Party Advisory
- snyk.io/vuln/SNYK-JS-FASTIFYCSRF-1062044 · Third Party Advisory
- nvd.nist.gov/vuln/detail/CVE-2020-28482
- cve.org/CVERecord?id=CVE-2020-28482
More vulnerabilities in Fastify products
CVE-2026-33806CVE-2026-25224CVE-2026-25223CVE-2025-66415CVE-2025-32442CVE-2023-51701CVE-2023-31999CVE-2023-29020All 24
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.