astro
7.4.13 · 18 Nov 2026MIT12.5M / weekRepositoryHomepagenpmAtom feed
Upgrading astro From 4.16.12 to 4.16.19
7 releases in betweenevery note read
- 0
- changes to make
- 3
- advisories fixed
- 0
- new
- 15
- fixes
Security
20 advisories still affect 4.16.19
- 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.
Fixes 3 advisories affecting 4.16.12
- Astro's server source code is exposed to the public if sourcemaps are enabledhigh · GHSA-49w6-73cw-chjr
- Atro CSRF Middleware Bypass (security.checkOrigin)moderate · GHSA-c4pw-33h3-35xw
- Astro allows unauthorized third-party images in _image endpointmoderate · GHSA-xf8x-j4p2-f749
Release by release
- Fixed
Fixes an issue where remote paths weren't correctly computed when generating assets
- Fixed
- Fixed
Remove all assets created from the server build
- Fixed
Clean server sourcemaps from static output
- Fixed
- Fixed
Fixes an issue where the
checkOriginfeature wasn't correctly checking thecontent-typeheader
- Fixed
- Fixed
Fix JPEG image size determination
- Fixed
Fixes an issue where with
i18nenabled, Astro couldn't render the404.astrocomponent for non-existent routes.
- Fixed
- Fixed
Fixes a regression where Astro was trying to access
Request.headers
- Fixed
- Fixed
Removes the default throw behavior in
astro:env - Fixed
Fixes an issue where a server island hydration script might fail case the island ID misses from the DOM.
- Fixed
Fixes a case where the Content Layer
glob()loader would not update when renaming or deleting an entry - Fixed
Fix cached image redownloading if it is the first asset
- Fixed
Fixes an issue where the SSR build was emitting the
dist/server/entry.mjsfile with an incorrect import at the top of the file/ - Fixed
Fixes an issue where
Astro.currentLocalewas not correctly returning the locale for 404 and 500 pages.
- Fixed
- Fixed
Fixes a potential null access in the clientside router
- Fixed
Fixes an issue where scripts were not correctly injected during the build. The issue was triggered when there were injected routes with the same
entrypointand differentpattern
- Fixed
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.