Cross-site Request Forgery (CSRF) Affecting fastify-csrf package, versions <3.1.0


Severity

Recommended
0.0
medium
0
10

CVSS assessment made by Snyk's Security Team

    Threat Intelligence

    EPSS
    0.14% (50th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk ID SNYK-JS-FASTIFYCSRF-1293032
  • published 14 May 2021
  • disclosed 14 May 2021
  • credit Unknown

How to fix?

Upgrade fastify-csrf to version 3.1.0 or higher.

Overview

fastify-csrf is an A plugin for adding CSRF protection to Fastify.

Affected versions of this package are vulnerable to Cross-site Request Forgery (CSRF). It does not provide adequate protection against cookie tossing attacks.

References

CVSS Scores

version 3.1
Expand this section

Snyk

Recommended
4.6 medium
  • Attack Vector (AV)
    Network
  • Attack Complexity (AC)
    High
  • Privileges Required (PR)
    Low
  • User Interaction (UI)
    Required
  • Scope (S)
    Unchanged
  • Confidentiality (C)
    Low
  • Integrity (I)
    Low
  • Availability (A)
    Low
Expand this section

NVD

6.5 medium