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
Remediation
References
https://github.com/fastify/fastify-csrf/pull/26
https://snyk.io/vuln/SNYK-JS-FASTIFYCSRF-1062044
Related Vulnerabilities
CVE-2021-28165 Vulnerability in maven package org.eclipse.jetty:jetty-io
CVE-2023-34610 Vulnerability in maven package com.cedarsoftware:json-io
CVE-2022-36084 Vulnerability in npm package cruddl
CVE-2017-16021 Vulnerability in npm package uri-js
CVE-2021-21294 Vulnerability in maven package org.http4s:http4s-blaze-server_2.12