astro
7.4.13 · 18 Nov 2026MIT12.5M / weekRepositoryHomepagenpmAtom feed
Upgrading astro From 7.1.3 to 7.1.4
1 release in betweenevery note read
Security
6 advisories still affect 7.1.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/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
- New
Adds the missing
backgroundprop to the<Image />and<Picture />component types. The prop already worked at runtime, but was absent from the types, causingastro checkto report thatbackgrounddoes not exist on the component props - Fixed
Fixes duplicate CSS files being emitted in server output when a prerendered page and a server-rendered page share the same styles (e.g. a shared layout importing Tailwind). The prerender and SSR environments each emitted their own copy of the same stylesheet (
index.X.cssand_..Y.css); the SSR build now reuses the CSS asset filename from the prerender build when the stylesheet is backed by the same CSS source modules, so only a single file is emitted. - Fixed
Fixes missing scoped styles for child components inside
client:onlyislands in production builds - Fixed
Fixes session runtime errors being silently swallowed by
console.errorinstead of routing through Astro's logger
- 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.