astro
7.4.13 · 18 Nov 2026MIT12.5M / weekRepositoryHomepagenpmAtom feed
Upgrading astro From 5.3.1 to 5.4.0
1 release in betweenevery note read
Security
23 advisories still affect 5.4.0
- Astro: Remote code execution through AVIF image optimizationcritical · GHSA-26w7-cxv4-gfx2
- Astro: Host header SSRF in prerendered error page fetchhigh · GHSA-2pvr-wf23-7pc7
- Astro: Authorization bypass from missing path-segment boundary check when stripping the configured basemoderate · GHSA-376h-93r7-7g6f
Upgrading to 7.4.5 clears them.
- 5.4.0
allowedHostschecks the Host header on HTTP requests from browsers and if it doesn't match, it will reject the request to prevent CSRF and XSS attacks.
Release by release
- Security
allowedHostschecks the Host header on HTTP requests from browsers and if it doesn't match, it will reject the request to prevent CSRF and XSS attacks. - New
Exposes extra APIs for scripting and testing.
- New
Adds a new configuration option
server.allowedHostsand CLI option--allowed-hosts. - New
Adds the ability to process and optimize remote images in Markdown files
- Security
2 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.