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:12Z
Modified
2026-08-27T08:15:00Z
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/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
Show details
{
    "cpe": "cpe:2.3:a:fastify:fastify-csrf:*:*:*:*:*:node.js:*:*",
    "extracted_events": [
        {
            "introduced": "0"
        },
        {
            "fixed": "3.0.0"
        }
    ],
    "source": "CPE_RANGE"
}

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"