GHSA-rc4q-9m69-gqp8 · Severity: medium · Ecosystem: npm — Lack of protection against cookie tossing attacks in fastify-csrf
fastify-csrf is an open-source plugin helps developers protect their Fastify server against CSRF attacks. Versions of fastify-csrf prior to 3.1.0 have a "double submit" mechanism using cookies with an application deployed across multiple subdomains, e.g. "heroku"-style platform as a service. Version 3.1.0 of the fastify-csrf fixes it. the vulnerability. The user of the module would need to supply a `userInfo` when generating the CSRF token to fully implement the protection on their end. This is needed only for applications hosted on different subdomains.
Conclusion & alert: CVE-2021-29624 is rated Moderate Risk (45.1/100): CVSS Medium severity, with medium exploitation likelihood (EPSS 0.83%). Mandatory action: Review affected assets and schedule remediation.
Risk is dynamic; we continuously reassess and refresh what is shown on this page as upstream context changes.
EPSS lead: Daily EPSS estimates relative likelihood of exploitation; percentile ranks this CVE among scored vulnerabilities (higher = more severe relative rank).
| # | Date | Old EPSS score | New EPSS score | Delta (New - Old) |
|---|---|---|---|---|
| 1 | 2026-06-15 | 0.17% | 0.83% | +0.66% |
| 2 | 2026-05-03 | 0.27% | 0.17% | -0.10% |
| 3 | 2026-04-22 | — | 0.27% | — |
Full EPSS history (12 records total)
CVSS metrics for this CVE.
| Base score | Version | Severity | Vector | Exploitability | Impact | Score source |
|---|---|---|---|---|---|---|
| 6.5 | 3.1 | MEDIUM |
|
2.8 | 3.6 | [email protected] |
| 6.5 | 3.1 | MEDIUM |
|
2.8 | 3.6 | [email protected] |
| 4.3 | 2.0 | MEDIUM |
|
8.6 | 2.9 | [email protected] |
GHSA-rc4q-9m69-gqp8 · Severity: medium · Ecosystem: npm — Lack of protection against cookie tossing attacks in fastify-csrf
| Vendor | Product | Version | Raw CPE |
|---|---|---|---|
| fastify | fastify-csrf | < 3.1.0 | cpe:2.3:a:fastify:fastify-csrf:*:*:*:*:*:node.js:*:* |
| URL | Tags |
|---|---|
| https://cheatsheetseries.owasp.org/cheatsheets/Cross-Site_Request_Forgery_Prevention_Cheat_Sheet.html | Third Party Advisory |
| https://github.com/fastify/csrf/pull/2 | Patch Third Party Advisory |
| https://github.com/fastify/fastify-csrf/pull/51 | Patch Third Party Advisory |
| https://github.com/fastify/fastify-csrf/releases/tag/v3.1.0 | Third Party Advisory |
| https://github.com/fastify/fastify-csrf/security/advisories/GHSA-rc4q-9m69-gqp8 | Patch Third Party Advisory |
| https://owasp.org/www-pdf-archive/David_Johansson-Double_Defeat_of_Double-Submit_Cookie.pdf | Third Party Advisory |