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-21120 Vulnerability in npm package electron
CVE-2022-0673 Vulnerability in maven package org.eclipse.lemminx:lemminx-parent
CVE-2020-8203 Vulnerability in npm package lodash
CVE-2019-17495 Vulnerability in maven package org.webjars.npm:swagger-ui
CVE-2022-31160 Vulnerability in maven package org.webjars.npm:jquery-ui