astro
7.4.13 · 18 Nov 2026MIT12.5M / weekRepositoryHomepagenpmAtom feed
7.4.13 is the newest release of 7.x.
In short
10 fixed3 internal
Security
6 advisories affect 7.2.3; 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 an issue where Astro could run out of memory when
experimental.collectionStorageis set tochunkedand there are multiple concurrent updates to the same collection.Fixes the dev server sometimes matching against stale routes after pages were added, removed, or renamed, requiring a dev server restart to pick up the change
Fixes the composable request helpers (
astro/fetch) throwing an error when used on a request that had been rewritten withAstro.rewrite()ornext()Refactors Astro's internal server-side request handling. This is an internal change: all documented public APIs, including
AppandNodeApp, keep their existing signatures and behavior.The undocumented internal
app.pipelineproperty and theAppPipelineexport fromastro/apphave been removed. Adapters that usedapp.pipeline.getLogger()to wait for the configured log destination can call the newapp.getLogger()instead.As a result of this refactor,
new FetchState(request)fromastro/fetchnow works anywhere inside a built Astro server — including customsrc/fetch.tsentrypoints — without the request needing to first pass throughapp.render(). Previously this threw an error, breaking patterns like the Cloudflare adapter's advanced custom-worker setup.Fixes a link in font providers JSDoc annotations
Fixes several documentation issues related to the JSDoc for configuration options.
When hovering over the
serverandfontsoptions, the JSDoc for the nested options was displayed instead of the JSDoc for the top-level property.Two i18n configuration options were being used incorrectly in the examples.
The indentation of some code blocks was broken on hover.
Fixes a crash when a request arrives with a malformed port in the
Hostheader (for exampleexample.com:65536orexample.com:8080:8080). Such a host made the constructed request URL invalid, and the fallback that was meant to recover reused the same invalid host and threw again. The request URL now degrades to a host the server controls when the incoming host cannot be parsed, so the request is handled instead of erroring.Fixes a dev server error where an SSR full reload triggered by a third-party Vite plugin (such as
@tailwindcss/vite) could fail withFailed to load url astro:server-app.jsImproves error handling for custom log destinations. When the configured logger fails to load, Astro now reports the error and continues with the default console logger instead of failing the first request.
Fixes
getCollection()andgetEntry()throwingDataCloneErrorwhen a collection schema transform returns aTemporal.PlainDateor other class instance.
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.