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
Related
  • SNYK-JS-FASTIFYCSRF-1062044
Published
2021-01-19T15:15:12.153Z
Modified
2026-03-15T14:39:19.868290Z
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

References

Affected packages

Git / github.com/fastify/fastify-csrf

Affected ranges

Type
GIT
Repo
https://github.com/fastify/fastify-csrf
Events
Introduced
0 Unknown introduced commit / All previous commits are affected
Fixed
Database specific
{
    "versions": [
        {
            "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"