astro
7.4.13 · 18 Nov 2026MIT12.5M / weekRepositoryHomepagenpmAtom feed
Upgrading astro From 7.2.0 to 7.2.1
1 release in betweenevery note read
- 0
- changes to make
- 0
- advisories fixed
- 0
- new
- 10
- fixes
Security
6 advisories still affect 7.2.1
- Astro: Remote code execution through AVIF image optimizationcritical · GHSA-26w7-cxv4-gfx2
- Astro: Authorization bypass from missing path-segment boundary check when stripping the configured basemoderate · GHSA-376h-93r7-7g6f
- Astro: Reflected/Stored XSS via unescaped <script>/<style> tag content in JSX/MDX renderingmoderate · GHSA-98hj-9722-w3j8
Upgrading to 7.4.7 clears them.
Release by release
- Fixed
Fixes CSS hot module replacement after navigating between pages with
ClientRouter - Fixed
Fixes a CSP violation when using both
security.cspandexperimental.clientPrerenderwithdata-astro-prefetchlinks. The dynamically injected<script type="speculationrules">now uses a static"source": "document"approach with a CSS selector, producing a deterministic payload that is hashed and included in the CSPscript-srcdirective at build time. - Fixed
Fixes middleware HMR not responding to changes in imported modules. Previously, only direct edits to the middleware file would trigger a reload.
- Fixed
Fixes a regression where content collection
reference()fields silently accepted entry IDs that don't exist, such as an ID that doesn't match a loader's slugified version of it. Astro now logs an error for references that point to a missing entry after all loaders finish syncing.
- 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.