{"id":"CVE-2020-28482","state":"PUBLISHED","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","publishedAt":"2021-01-19T14:50:18.191Z","updatedAt":"2024-09-16T19:05:34.497Z","severity":{"score":5.9,"label":"Medium","version":"3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:L/A:N","source":"snyk"},"assigner":"snyk","products":["n/a fastify-csrf"],"affected":[{"vendor":"n/a","product":"fastify-csrf","versions":[{"version":"unspecified","status":"affected","lessThan":"3.0.0","versionType":"custom"}]}],"references":["https://snyk.io/vuln/SNYK-JS-FASTIFYCSRF-1062044","https://github.com/fastify/fastify-csrf/pull/26"],"weaknesses":[],"ingestedAt":"2026-10-29T19:47:13.795Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2020/28xxx/CVE-2020-28482.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.1","cveMetadata":{"cveId":"CVE-2020-28482","state":"PUBLISHED","datePublished":"2021-01-19T14:50:18.191Z","dateUpdated":"2024-09-16T19:05:34.497Z","assignerShortName":"snyk","assignerOrgId":"bae035ff-b466-4ff4-94d0-fc9efd9e1730","dateReserved":"2020-11-12T00:00:00.000Z"},"containers":{"cna":{"title":"Cross-site Request Forgery (CSRF)","descriptions":[{"lang":"en","value":"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":[{"vendor":"n/a","product":"fastify-csrf","versions":[{"version":"unspecified","status":"affected","lessThan":"3.0.0","versionType":"custom"}]}],"references":[{"url":"https://snyk.io/vuln/SNYK-JS-FASTIFYCSRF-1062044","tags":["x_refsource_MISC"]},{"url":"https://github.com/fastify/fastify-csrf/pull/26","tags":["x_refsource_MISC"]}],"metrics":[{"cvssV3_1":{"attackComplexity":"HIGH","attackVector":"NETWORK","availabilityImpact":"NONE","baseScore":5.9,"baseSeverity":"MEDIUM","confidentialityImpact":"HIGH","integrityImpact":"LOW","privilegesRequired":"NONE","scope":"UNCHANGED","userInteraction":"REQUIRED","vectorString":"CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:L/A:N","version":"3.1"}}],"problemTypes":[{"descriptions":[{"description":"Cross-site Request Forgery (CSRF)","lang":"en","type":"text"}]}],"providerMetadata":{"shortName":"snyk","dateUpdated":"2021-01-19T14:50:18.000Z","orgId":"bae035ff-b466-4ff4-94d0-fc9efd9e1730"},"credits":[{"lang":"en","value":"Matteo Collina"}],"datePublic":"2021-01-19T00:00:00.000Z","x_legacyV4Record":{"CVE_data_meta":{"ASSIGNER":"report@snyk.io","DATE_PUBLIC":"2021-01-19T14:47:37.555989Z","ID":"CVE-2020-28482","STATE":"PUBLIC","TITLE":"Cross-site Request Forgery (CSRF)"},"affects":{"vendor":{"vendor_data":[{"product":{"product_data":[{"product_name":"fastify-csrf","version":{"version_data":[{"version_affected":"<","version_value":"3.0.0"}]}}]},"vendor_name":"n/a"}]}},"credit":[{"lang":"eng","value":"Matteo Collina"}],"data_format":"MITRE","data_type":"CVE","data_version":"4.0","description":{"description_data":[{"lang":"eng","value":"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"}]},"impact":{"cvss":{"attackComplexity":"HIGH","attackVector":"NETWORK","availabilityImpact":"NONE","baseScore":5.9,"baseSeverity":"MEDIUM","confidentialityImpact":"HIGH","integrityImpact":"LOW","privilegesRequired":"NONE","scope":"UNCHANGED","userInteraction":"REQUIRED","vectorString":"CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:L/A:N","version":"3.1"}},"problemtype":{"problemtype_data":[{"description":[{"lang":"eng","value":"Cross-site Request Forgery (CSRF)"}]}]},"references":{"reference_data":[{"name":"https://snyk.io/vuln/SNYK-JS-FASTIFYCSRF-1062044","refsource":"MISC","url":"https://snyk.io/vuln/SNYK-JS-FASTIFYCSRF-1062044"},{"name":"https://github.com/fastify/fastify-csrf/pull/26","refsource":"MISC","url":"https://github.com/fastify/fastify-csrf/pull/26"}]}}},"adp":[{"title":"CVE Program Container","references":[{"url":"https://snyk.io/vuln/SNYK-JS-FASTIFYCSRF-1062044","tags":["x_refsource_MISC","x_transferred"]},{"url":"https://github.com/fastify/fastify-csrf/pull/26","tags":["x_refsource_MISC","x_transferred"]}],"providerMetadata":{"shortName":"CVE","orgId":"af854a3a-2127-422b-91ae-364da2661108","dateUpdated":"2024-08-04T16:40:58.879Z"}}]}}}