Cross-site Request Forgery (CSRF)
cve-program · CVE-2020-28482
PublishedThis 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
Read the publisher's advisoryeuvd · EUVD-2021-0487
PublishedThis 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
Read the publisher's advisorynvd · CVE-2020-28482
PublishedThis 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
Read the publisher's advisoryosv · GHSA-49wp-qq6x-g2rf
PublishedThe package fastify-csrf before 3.0.0 has a set of issues that affect its ability to do CSRF protection. 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
Read the publisher's advisoryAffected versions, risk and source history
Related advisories and sources
Publishers link these advisories through the identifiers shown below. A shared identifier or date alone does not tell you whether your software is affected or whether the advisories describe the same cause.
CVE-2020-28482 · CVE overview and exploitation status
cve-program · CVE-2020-28482
euvd · EUVD-2021-0487
nvd · CVE-2020-28482
osv · GHSA-49wp-qq6x-g2rf
- https://nvd.nist.gov/vuln/detail/CVE-2020-28482
- https://github.com/fastify/fastify-csrf/pull/26
- https://github.com/fastify/fastify-csrf/commit/3c9de36e9e73ce0eda9207f84f2ac0243e1f5253
- https://github.com/fastify/fastify-csrf
- https://snyk.io/vuln/SNYK-JS-FASTIFYCSRF-1062044
- https://www.npmjs.com/package/fastify-csrf
Related changes
Linked by CVE identifierNo related changes are available here.