{"schema":"/api/v1/schema/cve.json","api_version":"1","id":"CVE-2020-28482","published":"2021-01-19T15:15:12.153000Z","last_modified":"2026-06-17T03:10:31.480000Z","status":"Modified","cvss":{"version":"3.1","score":8.8,"severity":"HIGH","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","source":"nvd@nist.gov","primary":true},"auth":false,"cwes":["CWE-200","CWE-732"],"cpes":[{"criteria":"cpe:2.3:a:fastify:fastify-csrf:*:*:*:*:*:node.js:*:*","part":"a","vendor":"fastify","product":"fastify-csrf","version_end_excluding":"3.0.0"}],"cpes_truncated":false,"vendors":["fastify"],"products":["fastify/fastify-csrf"],"epss":{"score":0.00992,"percentile":0.63547,"date":"2026-12-01","model_version":"v2026.06.15"},"cat":"app","platform":"multi","eol":false,"packages":[{"advisory":"GHSA-49wp-qq6x-g2rf","ecosystem":"npm","name":"fastify-csrf","purl":"pkg:npm/fastify-csrf","ranges":[{"introduced":"0","fixed":"3.0.0"}],"versions":[],"versions_truncated":false}],"severity":"high","priority_score":68,"links":{"html_es":"/es/cve/CVE-2020-28482/","html_en":"/en/cve/CVE-2020-28482/","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2020-28482","cve_org":"https://www.cve.org/CVERecord?id=CVE-2020-28482"},"untrusted":{"vendor_name":"Fastify","product_name":"Fastify-csrf","desc_en":"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":[],"references":[{"url":"https://github.com/fastify/fastify-csrf/pull/26","tags":["Third Party Advisory"]},{"url":"https://snyk.io/vuln/SNYK-JS-FASTIFYCSRF-1062044","tags":["Third Party Advisory"]}]}}