High
Security advisory
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
- Products
- Not specified
- Affected versions
- Not specified
- Fixed versions
- Not specified
- CVEs
- CVE-2020-28482
- Confirmed fixed CVEs
- Not specified
- Updated in this feed
- 31 Oct 2026, 11:25 UTC · Revision 1
Source evidence
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
osv:CVE-2020-28482
Complete source record
{
"id": "072f82da6049fe3cd2d4b6ac411be567faf0f050f7538556d3118bf743fe595a",
"url": "https://osv.dev/vulnerability/CVE-2020-28482",
"method": "structured",
"payload": {
"kind": "advisory",
"title": "CVE-2020-28482",
"summary": "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",
"evidence": "osv:CVE-2020-28482",
"products": [],
"severity": "high",
"structured": {
"id": "CVE-2020-28482",
"aliases": [
"CVE-2020-28482",
"GHSA-49wp-qq6x-g2rf",
"SNYK-JS-FASTIFYCSRF-1062044"
],
"metrics": [
{
"type": "CVSS_V3",
"score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H"
}
],
"affected": [
{
"ranges": [
{
"repo": "https://github.com/fastify/csrf-protection",
"type": "GIT",
"events": [
{
"introduced": "0"
},
{
"fixed": "bac8c852403ab66965d4e66c0d07324873960c26"
}
],
"database_specific": {
"extracted_events": [
{
"cpe": "cpe:2.3:a:fastify:fastify-csrf:*:*:*:*:*:node.js:*:*",
"range": [
{
"introduced": "0"
},
{
"fixed": "3.0.0"
}
],
"source": "CPE_RANGE"
}
]
}
}
],
"versions": [
"v2.0.0",
"v1.0.4"
],
"database_specific": {
"source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2020-28482.json"
}
}
],
"modified": "2026-10-20T10:54:19.587494099Z",
"provider": "osv",
"references": [
"https://github.com/fastify/fastify-csrf/pull/26",
"https://snyk.io/vuln/SNYK-JS-FASTIFYCSRF-1062044"
],
"provider_metadata": {}
},
"related_cves": [
{
"value": "CVE-2020-28482",
"evidence": "/id"
}
],
"security_relevant": true,
"severity_evidence": "/severity/0/score"
},
"source_id": "core-osv",
"document_id": 385049,
"published_at": "2021-01-19T15:15:12.153+00:00"
}