CVE-2020-28482

Medium

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

SeverityMedium
CVSS5.9
Exploit probability—
ProductFastify-csrf
PublishedJan 19, 2021
First seenJan 19, 2021

How to fix

Update
  • fastify fastify-csrf3.0.0 or later
  • fastify-csrf3.0.0 or later

Affected products

ProductAffected versionsFixed in
fastify fastify-csrfv < 3.0.03.0.0
fastify-csrfnpmv < 3.0.03.0.0

Check your version

Choose the product and enter the version you run to see whether it falls in the affected range.

In the Intelligence 360 plan

Attack Surface Management

See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.