CVE-2020-28482GHSA-49WP-QQ6X-G2RFSNYK-JS-FASTIFYCSRF-1062044
Cross-site Request Forgery (CSRF)
- Published
- Last modified
- Where the record stands: published, rejected by its publisher, or superseded by another id.What do these mean? →
- published
- Whether CISA lists it in its Known Exploited Vulnerabilities catalog: proof that attackers are using it.What do these mean? →
- Not listed in CISA KEV
- Fix
- Fixed in 3.0.0
- Whether working attack code is public (Exploit-DB, Metasploit, Nuclei or GitHub). Public code makes attacks easier.What do these mean? →
- None on Exploit-DB, Metasploit or GitHub
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
Timeline
- CVE published
- Record last updated
Affected versions
- n/a fastify-csrf
fixed in 3.0.0
- fastify-csrfnpm
fixed in 3.0.0