{"cve":"CVE-2020-28482","nvd":{"published":"2021-01-19T15:15:12.153","modified":"2026-06-17T03:10:31.480","status":"Modified","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: '/', sameSite: true } 2. The CSRF token was available in the GET query parameter","cvss_v4":null,"cvss_v3":{"version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","score":8.8},"cwes":["CWE-200","CWE-732"],"references":["https://github.com/fastify/fastify-csrf/pull/26","https://snyk.io/vuln/SNYK-JS-FASTIFYCSRF-1062044","https://github.com/fastify/fastify-csrf/pull/26","https://snyk.io/vuln/SNYK-JS-FASTIFYCSRF-1062044"],"products":["fastify:fastify-csrf"],"source":"nvd","synced_at":"2026-10-19T21:14:10.479542811+00:00"},"epss":{"cve":"CVE-2020-28482","score":0.00992,"percentile":0.62587,"date":"2026-10-31"},"kev":null,"osv":[{"id":"GHSA-49wp-qq6x-g2rf","url":"https://osv.dev/vulnerability/GHSA-49wp-qq6x-g2rf","summary":"Cross-site Request Forgery in fastify-csrf","modified":"2026-07-08T06:49:32.779628053Z","packages":[{"ecosystem":"npm","name":"fastify-csrf","purl":"pkg:npm/fastify-csrf","ranges":["<3.0.0"],"fixed":["3.0.0"]}]}],"attribution":["This product uses the NVD API but is not endorsed or certified by the NVD.","EPSS scores: FIRST Exploit Prediction Scoring System, https://www.first.org/epss","Known exploited vulnerabilities: CISA Known Exploited Vulnerabilities Catalog, https://www.cisa.gov/known-exploited-vulnerabilities-catalog","Package advisories: OSV (https://osv.dev), from the GitHub Advisory Database, PyPA, Go, RustSec and other ecosystem databases, under CC-BY 4.0 or CC0","CVE records: the CVE Program's CVE List (https://www.cve.org), under its terms of use (https://www.cve.org/Legal/TermsOfUse). CVE is a registered trademark of The MITRE Corporation; this product is not affiliated with the CVE Program."]}