CVE-2020-28482

HIGH8.8EPSS 0.31%

Cross-site Request Forgery in fastify-csrf

Published: 1/20/2021Modified: 3/13/2026
Also known as:GHSA-49wp-qq6x-g2rf

Description

The package fastify-csrf before 3.0.0 has a set of issues that affect its ability to do CSRF protection. 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 packages (1)

CVSS scores

SourceVersionSeverityVector
osvCVSS 3.1HIGH8.8CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H

References (6)