CVE-2020-28482 MEDIUM

CVE-2020-28482: Cross-site Request Forgery (CSRF)

Vendor N/A
Product fastify-csrf
Published January 19, 2021
Last update September 16, 2024

CVSS base score

5.9/10
Attack vector Network
Attack complexity High
Privileges required None
User interaction Required
Confidentiality High
Integrity Low

CVSS vector

CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:L/A:N

What the vulnerability does

01Description

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

Key dates

02Disclosure timeline

January 19, 2021 CVE published
September 16, 2024 Record updated