astro
7.4.13 · 18 Nov 2026MIT12.5M / weekRepositoryHomepagenpmAtom feed
7.4.13 is the newest release of 7.x.
In short
8 fixed
Security
6 advisories affect 7.2.2; 7.4.7 fixes them
- CriticalAstro: Remote code execution through AVIF image optimizationGHSA-26w7-cxv4-gfx2 · 8 Sep 2026Fixed in 7.2.8
- ModerateAstro: Image endpoint in @astrojs/node can read files from a case-variant sibling of the output directory on case-sensitive filesystemsGHSA-r3h5-4585-7x3w · 13 Nov 2026Fixed in 7.4.7
- ModerateAstro: Reflected/Stored XSS via unescaped <script>/<style> tag content in JSX/MDX renderingGHSA-98hj-9722-w3j8 · 22 Oct 2026Fixed in 7.3.2
- ModerateAstro: Authorization bypass from missing path-segment boundary check when stripping the configured baseGHSA-376h-93r7-7g6f · 8 Sep 2026Fixed in 7.2.4
- LowAstro: XSS via attribute injection in dynamic tag namesGHSA-mh32-jxcr-mh9f · 13 Nov 2026Fixed in 7.4.5
1 more
- LowAstro: Arbitrary CSS injection in Astro View TransitionsGHSA-mpr7-6m5w-76rw · 22 Oct 2026Fixed in 7.3.3
Release note
Patch Changes
Fixes component styles rendered from content entries remaining stale until a second save when an adapter uses Astro's fallback development environment
Fixes incremental builds dropping optimized images for cached pages when using a
collectStaticImagesprerenderer (e.g.@astrojs/cloudflarewith compile-time image optimization)Fixes intermittent
ImageNotFounderrors during build on projects with many images. The build now limits concurrent image file reads to avoid exhausting OS file descriptors (EMFILE) and retries transient I/O errors with backoff. Non-transient errors are no longer silently swallowed.Fixes
prerenderConflictBehaviornot applying to content collection duplicate ID warnings in theglob()andfile()loaders. Setting it to'error'now throws during content sync, and'ignore'suppresses the warning.Fixes the Fonts API breaking
experimental.incrementalBuildcaching by embedding a build-local, randomly-assigned server port in generated code used for the dependency hashFixes incremental builds becoming prohibitively slow for sites with many pages or content entries that share a large dependency graph.
Prevents files in directories whose names start with
pagesfrom being treated as page routesFixes
astro devrefusing to start after a Docker container restart when an unrelated process reuses the PID from a persisted lock file. Astro now checks the process command across platforms, so stale lock files are cleaned up and--forcedoes not signal the unrelated process.
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.