fastify
5.12.8 · 2 Nov 2026MIT23.8M / weekRepositoryHomepagenpmAtom feed
Upgrading fastify From 4.6.0 to 4.7.0
1 release in betweenevery note read
Security
11 advisories still affect 4.7.0
- Fastify: Incorrect Content-Type parsing can lead to CSRF attack moderate · GHSA-3fjj-p79j-c9hh
- fastify: request.protocol and request.host Spoofable via X-Forwarded-Proto/Host from Untrusted Connectionsmoderate · GHSA-444r-cwp2-x5xf
- fastify vulnerable to denial of service via malicious Content-Typehigh · GHSA-455w-c45v-86rg
Upgrading to 5.12.5 clears them.
- 4.7.0
GitHub Workflows security hardening
Release by release
- Security
GitHub Workflows security hardening
- New
Add RavenDB to community plugins
- New
Parse request body for http SEARCH requests
- New
Add routeSchema and routeConfig + switching context handling
- Fixed
Prevent reuse mutated route option for head
- Fixed
Type of validation function
- Fixed
Custom validator should not mutate headers schema
- Security
2 other lines we could not sort, mostly version bumps
- 4.7.0
Check if route exist before checking Content-Type of body
- 4.7.0
Replace parseInt with Number at get 6% boost
15 internal lines (docs, tests, tooling) left out.
A whole project to check? Paste its package.json in the dependency check: every deprecated, outdated or vulnerable dependency, with what to upgrade to. Free, no account.