{"id":"EUVD-2021-0487","enisaUuid":"d9263c4a-b1fb-3d9a-8d4d-32418a1899ce","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: \u0027/\u0027, sameSite: true } 2. The CSRF token was available in the GET query parameter","datePublished":"Jan 19, 2021, 2:50:18 PM","dateUpdated":"Sep 16, 2024, 7:05:34 PM","baseScore":5.9,"baseScoreVersion":"3.1","baseScoreVector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:L/A:N","references":"https://snyk.io/vuln/SNYK-JS-FASTIFYCSRF-1062044\nhttps://github.com/fastify/fastify-csrf/pull/26\n","aliases":"CVE-2020-28482\nGHSA-49wp-qq6x-g2rf\n","assigner":"snyk","epss":0.99,"enisaIdProduct":[{"id":"e642eaa2-32e4-3fcb-ad0c-47e66309ddbf","product":{"name":"fastify-csrf","vendor":{"name":"fastify"}},"product_version":"unspecified \u003c3.0.0"}],"enisaIdVendor":[{"id":"966b16c8-7b7c-3020-a193-89024566d356","vendor":{"name":"n/a"}}],"enisaIdVulnerability":[{"id":"4e1fab52-0b34-3db8-af0c-6b7c8b678fda","vulnerability":{"id":"CVE-2020-28482","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: \u0027/\u0027, sameSite: true } 2. The CSRF token was available in the GET query parameter","datePublished":"Jan 19, 2021, 2:50:18 PM","dateUpdated":"Sep 16, 2024, 7:05:34 PM","status":"PUBLISHED","baseScore":5.9,"baseScoreVersion":"3.1","baseScoreVector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:L/A:N","references":"https://snyk.io/vuln/SNYK-JS-FASTIFYCSRF-1062044\nhttps://github.com/fastify/fastify-csrf/pull/26\n","enisa_id":"EUVD-2021-0487\n","assigner":"snyk","epss":0.99,"dataProcessed":"Nov 23, 2026, 7:22:22 AM","vulnerabilityProduct":[{"id":"ccbbf0a8-69e1-3e40-95e1-b0b62ac9eaa8","product":{"name":"fastify-csrf","vendor":{"name":"fastify"}},"product_version":"unspecified \u003c3.0.0"}],"vulnerabilityVendor":[{"id":"178e0266-9972-316a-80ea-396a3c0bd17a","vendor":{"name":"n/a"}}]}},{"id":"dff3a51a-0300-31b4-bb73-5a98e6c73281","vulnerability":{"id":"GHSA-49wp-qq6x-g2rf","description":"Cross-site Request Forgery in fastify-csrf","datePublished":"Jan 20, 2021, 9:30:34 PM","dateUpdated":"Jun 29, 2022, 9:54:32 PM","baseScore":null,"references":"https://nvd.nist.gov/vuln/detail/CVE-2020-28482\nhttps://github.com/fastify/fastify-csrf/pull/26\nhttps://github.com/fastify/fastify-csrf/commit/3c9de36e9e73ce0eda9207f84f2ac0243e1f5253\nhttps://github.com/fastify/fastify-csrf\nhttps://snyk.io/vuln/SNYK-JS-FASTIFYCSRF-1062044\nhttps://www.npmjs.com/package/fastify-csrf\n","enisa_id":"EUVD-2021-0487\n","aliases":"GHSA-49wp-qq6x-g2rf\nCVE-2020-28482\n","epss":0.0,"dataProcessed":"Nov 22, 2026, 2:06:15 AM","vulnerabilityProduct":[],"vulnerabilityVendor":[]}}],"enisaIdAdvisory":[]}