CVE-2020-28482

Source
https://cve.org/CVERecord?id=CVE-2020-28482
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2020-28482.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2020-28482
Aliases
Published
2021-01-19T15:15:12.153Z
Modified
2026-07-08T06:49:32.779628053Z
Severity
  • 8.8 (High) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H CVSS Calculator
Summary
[none]
Details

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

Database specific
{
    "unresolved_ranges": [
        {
            "source": "CPE_RANGE",
            "cpes": [
                "cpe:2.3:a:fastify:fastify-csrf:*:*:*:*:*:node.js:*:*"
            ],
            "vendor_product": "fastify:fastify-csrf",
            "extracted_events": [
                {
                    "fixed": "3.0.0"
                }
            ]
        }
    ]
}
References

Affected packages

Git / github.com/fastify/csrf-protection

Affected ranges

Type
GIT
Repo
https://github.com/fastify/csrf-protection
Events
Introduced
0 Unknown introduced commit / All previous commits are affected
Fixed
Database specific
{
    "source": "DESCRIPTION",
    "extracted_events": [
        {
            "introduced": "0"
        },
        {
            "fixed": "3.0.0"
        }
    ]
}

Affected versions

v1.*
v1.0.4
v2.*
v2.0.0

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2020-28482.json"