astro
7.4.13 · 18 Nov 2026MIT12.5M / weekRepositoryHomepagenpmAtom feed
Upgrading astro From 7.2.3 to 7.2.4
1 release in betweenevery note read
- 0
- changes to make
- 1
- advisory fixed
- 0
- new
- 4
- fixes
Security
5 advisories still affect 7.2.4
- Astro: Remote code execution through AVIF image optimizationcritical · GHSA-26w7-cxv4-gfx2
- Astro: Reflected/Stored XSS via unescaped <script>/<style> tag content in JSX/MDX renderingmoderate · GHSA-98hj-9722-w3j8
- Astro: XSS via attribute injection in dynamic tag nameslow · GHSA-mh32-jxcr-mh9f
Upgrading to 7.4.7 clears them.
Fixes 1 advisory affecting 7.2.3
- Astro: Authorization bypass from missing path-segment boundary check when stripping the configured basemoderate · GHSA-376h-93r7-7g6f
Release by release
- Fixed
Fixes builds hanging when an image file is malformed
- Fixed
Fixes base path stripping to respect path-segment boundaries. With a configured
basesuch as/docs, a request like/docs-archive/pageis no longer treated as being under the base, so routing andcontext.url.pathnamenow agree on the same pathname. - Fixed
Fixes
astro buildthrowingTypeError: Missing parameterfor dynamic routes whenbuild.format: 'preserve'andtrailingSlash: 'always'are used together. Stripping the framework-injected.htmlsuffix dropped the trailing slash that the compiled route pattern requires, so the route no longer matched itself and its params resolved as empty. - Fixed
Fixes
Astro.sitealways beingundefinedwhen rendering components via the Container API, even whensiteis set inastroConfig
- Fixed
3 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.