{"schemaVersion":1,"url":"https://cve.openhack.com/cve/CVE-2020-28482","id":"CVE-2020-28482","title":"Cross-site Request Forgery (CSRF)","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","descriptionLong":"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","published":"2021-01-19T14:50:18.191Z","updated":"2026-10-20T10:54:19.587494099Z","reserved":"2020-11-12T00:00:00.000Z","status":"Modified","rejected":false,"assigner":"snyk","metric":{"version":"3.1","score":5.9,"vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:L/A:N","rating":"medium","source":"snyk"},"metrics":[{"version":"3.1","score":5.9,"vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:L/A:N","rating":"medium","source":"snyk"},{"version":"3.1","score":5.9,"vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:L/A:N","rating":"medium","source":"snyk.io"},{"version":"3.1","score":8.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","rating":"high","source":"NVD"},{"version":"3.1","score":8.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","rating":"high","source":"OSV"},{"version":"3.1","score":8.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","rating":"high","source":"GitHub"},{"version":"2.0","score":6.8,"vector":"AV:N/AC:M/Au:N/C:P/I:P/A:P","rating":"medium","source":"NVD"}],"rating":"medium","products":["fastify-csrf"],"affectedProducts":[{"vendor":"n/a","product":"fastify-csrf","defaultStatus":null,"versions":[{"lessThan":"3.0.0","status":"affected","version":"unspecified","versionType":"custom"}],"platforms":[]}],"packages":[{"ecosystem":"npm","name":"fastify-csrf","purl":"pkg:npm/fastify-csrf","ranges":["<3.0.0"],"fixed":["3.0.0"],"advisory":"GHSA-49wp-qq6x-g2rf"}],"cwes":["CWE-200","CWE-732","CWE-352"],"aliases":["GHSA-49wp-qq6x-g2rf","SNYK-JS-FASTIFYCSRF-1062044"],"references":[{"url":"https://snyk.io/vuln/SNYK-JS-FASTIFYCSRF-1062044","tags":["x_refsource_MISC","x_transferred","Third Party Advisory","advisory","web"]},{"url":"https://github.com/fastify/fastify-csrf/pull/26","tags":["x_refsource_MISC","x_transferred","Third Party Advisory","advisory","web"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2020-28482","tags":["advisory"]},{"url":"https://github.com/fastify/fastify-csrf/commit/3c9de36e9e73ce0eda9207f84f2ac0243e1f5253","tags":["web"]},{"url":"https://github.com/fastify/fastify-csrf","tags":["package"]},{"url":"https://www.npmjs.com/package/fastify-csrf","tags":["web"]}],"patchReferenced":false,"fixAvailable":true,"exploitReferenced":false,"kev":false,"kevAdded":null,"kevDue":null,"kevEntry":null,"ssvc":null,"epss":0.00992,"epssPercentile":0.63242,"sources":[{"name":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2020-28482","ok":true},{"name":"NVD","url":"https://nvd.nist.gov/vuln/detail/CVE-2020-28482","ok":true,"note":"Modified"},{"name":"OSV","url":"https://osv.dev/vulnerability/CVE-2020-28482","ok":true,"note":"1 package"},{"name":"GitHub Advisory","url":"https://github.com/advisories/GHSA-49wp-qq6x-g2rf","ok":true,"note":"GHSA-49wp-qq6x-g2rf"},{"name":"CISA KEV","url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","ok":true,"note":"not listed"},{"name":"EPSS","url":"https://api.first.org/data/v1/epss?cve=CVE-2020-28482","ok":true,"note":"scored 2026-11-18"}],"aiTitle":false,"tech":[],"critical":[],"attention":null}