Cross-site Request Forgery (CSRF)
Published Jan 19, 2021
8.8
HIGHCVSS 3.1
EPSS 0.98%
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
Affected products
- Vendor n/a Product Fastify-Csrf Defaultn/a
- Version unspecifiedStatusaffectedConstraints<3.0.0
- Version
Default status is the baseline for the product, each version can override it (e.g. patched versions marked unaffected).
| Vendor | Product | Default status | Versions | ||||||
|---|---|---|---|---|---|---|---|---|---|
| n/a | Fastify-Csrf | n/a |
|
- < 3.0.0
No data.
No Red Hat product state for this CVE.
fastify-csrf
npm
Introduced 0 Fixed 3.0.0
| Ecosystem | Package | Introduced | Fixed |
|---|---|---|---|
| npm | fastify-csrf | 0 | 3.0.0 |
Remediation
No remediation recorded yet.
Metrics
No CVSS v4.0 score for this CVE.
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
1 other source (CVE.org) ▾
CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:L/A:N
No CVSS v3.0 score for this CVE.
AV:N/AC:M/Au:N/C:P/I:P/A:P
This CVE is not in the KEV list.
No CISA SSVC assessment for this CVE yet.
Estimated probability of exploitation in the wild in the next 30 days (FIRST EPSS). As of Oct 3, 2026.
Score over time
2021–2026- EPSS v1
- EPSS v5
- EPSS v2
- EPSS v3
Percentile over time
- EPSS v1
- EPSS v5
- EPSS v2
- EPSS v3
Table of values (12 key points)
Flat stretches are collapsed; showing up to 120 newest points.
| Date | Score | Percentile | Model |
|---|---|---|---|
| Oct 3, 2026 | 0.98% (0.00980) | 60.92th | v5 (v2026.06.15) |
| Sep 20, 2026 | 0.98% (0.00980) | 60.70th | v5 (v2026.06.15) |
| Jul 20, 2024 | 0.21% (0.00212) | 59.64th | v3 (v2023.03.01) |
| Jul 10, 2024 | 0.21% (0.00212) | 59.56th | v3 (v2023.03.01) |
| Mar 7, 2023 | 0.21% (0.00213) | 57.51th | v3 (v2023.03.01) |
| Mar 6, 2023 | 0.89% (0.00885) | 27.89th | v2 (v2022.01.01) |
| Apr 1, 2022 | 0.89% (0.00885) | 24.24th | v2 (v2022.01.01) |
| Feb 4, 2022 | 5.25% (0.05246) | 75.87th | v2 (v2022.01.01) |
| Feb 3, 2022 | 2.74% (0.02742) | 63.06th | v1 |
| Jan 6, 2022 | 2.74% (0.02742) | 62.72th | v1 |
| Jan 5, 2022 | 0.62% (0.00624) | 46.35th | v5 (v2026.06.15) |
| Apr 14, 2021 | 0.62% (0.00624) | 0.00th | v1 |
References (6)
- https://github.com/advisories/GHSA-49wp-qq6x-g2rf Advisory
- https://github.com/fastify/fastify-csrf/commit/3c9de36e9e73ce0eda9207f84f2ac0243e1f5253
- https://github.com/fastify/fastify-csrf/pull/26 x_refsource_MISCThird Party Advisory
- https://nvd.nist.gov/vuln/detail/CVE-2020-28482
- https://snyk.io/vuln/SNYK-JS-FASTIFYCSRF-1062044 x_refsource_MISCThird Party Advisory
- https://www.npmjs.com/package/fastify-csrf
| Link | Providers | Tags |
|---|---|---|
| https://github.com/advisories/GHSA-49wp-qq6x-g2rf | Advisory | |
| https://github.com/fastify/fastify-csrf/commit/3c9de36e9e73ce0eda9207f84f2ac0243e1f5253 | ||
| https://github.com/fastify/fastify-csrf/pull/26 | x_refsource_MISCThird Party Advisory | |
| https://nvd.nist.gov/vuln/detail/CVE-2020-28482 | ||
| https://snyk.io/vuln/SNYK-JS-FASTIFYCSRF-1062044 | x_refsource_MISCThird Party Advisory | |
| https://www.npmjs.com/package/fastify-csrf |
Change history (0)
No recorded changes yet.