fastify
5.12.8 · 2 Nov 2026MIT23.8M / weekRepositoryHomepagenpmAtom feed
Upgrading fastify From 3.27.1 to 3.27.2
1 release in betweenevery note read
Security
9 advisories still affect 3.27.2
- 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 unhandled exception on HTTP/2 trailer responsesmoderate · GHSA-4mh8-r7rc-xpvc
Upgrading to 5.12.5 clears them.
Release by release
- New
Add reference to FST_ERR_CTP_INVALID_MEDIA_TYPE error in the docs for validation & content type parser
- Fixed
Added jsonShorthand in FastifyServerOptions
- Fixed
Calling reply.callNotFound uncaught exception
- Fixed
types: Add opts param to onRegister hook handler signature
- New
2 other lines we could not sort, mostly version bumps
- 3.27.2
Update Server docs
- 3.27.2
Update middleware docs link
7 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.