{"id":"CVE-2020-28482","details":"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","aliases":["GHSA-49wp-qq6x-g2rf","SNYK-JS-FASTIFYCSRF-1062044"],"modified":"2026-08-27T08:15:00.283440Z","published":"2021-01-19T15:15:12.153Z","references":[{"type":"ADVISORY","url":"https://github.com/fastify/fastify-csrf/pull/26"},{"type":"ADVISORY","url":"https://snyk.io/vuln/SNYK-JS-FASTIFYCSRF-1062044"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/fastify/csrf-protection","events":[{"introduced":"0"},{"fixed":"bac8c852403ab66965d4e66c0d07324873960c26"}],"database_specific":{"cpe":"cpe:2.3:a:fastify:fastify-csrf:*:*:*:*:*:node.js:*:*","extracted_events":[{"introduced":"0"},{"fixed":"3.0.0"}],"source":"CPE_RANGE"}}],"versions":["v2.0.0","v1.0.4"],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2020-28482.json"}}],"schema_version":"1.9.0","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H"}]}