astro
7.4.13 · 18 Nov 2026MIT12.5M / weekRepositoryHomepagenpmAtom feed
Upgrading astro From 7.0.3 to 7.0.4
1 release in betweenevery note read
- 0
- changes to make
- 1
- advisory fixed
- 1
- new
- 6
- fixes
Security
8 advisories still affect 7.0.4
- 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 XSS via unescaped View Transition animation propertiesmoderate · GHSA-4g3v-8h47-v7g6
Upgrading to 7.4.7 clears them.
Fixes 1 advisory affecting 7.0.3
- Astro: Cross-site scripting via unescaped transition:* directive values on hydrated islandslow · GHSA-7pw4-f3q4-r2p2
Release by release
- New
Adds support for
sharpv0.35. pnpm users no longer need to approvesharp's build script (seeallowBuilds) when on v0.35. - Fixed
Ensures transition directive values are HTML-escaped when rendered on hydrated islands
- Fixed
Fixes trailing slash handling for dynamic file endpoints in dev mode. Dynamic file endpoints (e.g.,
src/pages/api/[name].json.ts) withtrailingSlash: "always"incorrectly required a trailing slash in dev mode, returning 404 for/api/bar.jsonand 200 for/api/bar.json/. - Fixed
Fixed a bug where the development toolbar did not output a warning even though the implicit ARIA role and the manually specified role were duplicated.
- Fixed
Fixes
getCollection()returning empty in dev mode for large content collections (500k+ entries) - Fixed
Upgrades the Rust compiler to the latest, which fixes some bugs. Refer to its changelog for more information.
- Fixed
Hardens forwarded header handling so the internal request helper validates
X-Forwarded-Hostagainstsecurity.allowedDomainsbefore trustingX-Forwarded-ForforclientAddress. Previously it only checked that the header was present, which was inconsistent with the publiccreateRequesthelper. This aligns both code paths; behavior is unchanged for correctly configured proxies.
- New
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.