8.8

CVE-2020-28482: fastify fastify-csrf

CVSS: 8.8v3.1HighModified
AliasesGHSA-49wp-qq6x-g2rfSNYK-JS-FASTIFYCSRF-1062044
Published 19-01-2021Last modified 16-09-2024

Vulnerability summary

CVE-2020-28482 is a high (CVSS 8.8) vulnerability in fastify fastify-csrf. EPSS estimates a 0.99% chance of exploitation in the next 30 days, higher than 62% of scored vulnerabilities.

Overall risk
35/100
0100
Medium · default modelHow is this calculated?
CVSS score
8.8/10
010
High · v3.1 (NVD)
EPSS score
0.99%
0%100%
Low · +0.01 pp in 30 days
KEVNot listedIn no KEV catalog
RansomwareNone recordedNo known use recorded
Public exploits0No public exploits recorded

Timeline

  1. 19-01-2021
    PublishedVulnerability first disclosed.
  2. 16-09-2024
    Last modifiedVulnerability information updated.

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

CVSS metrics

4 scores · 3 sources · 2 versions

EPSS trend

Probability

0.99%

Chance of exploitation in the next 30 days

Percentile

62%

Versus all other CVEs

30-day change

+0.01 pp

From 0.98% on 20-09-2026

20-09-202620-10-2026
EPSS score
0.99%

Known exploited

Compare KEV catalogs

Not in any of the 3 tracked catalogs.

Public exploits

0 found

No public exploits indexed.

Weaknesses

CWE · root cause

Affected systems

Fastify1 product
Npm1 product
  • fastify-csrf< 3.0.0

2 vendors · 2 products

References

6 links