astro
7.4.13 · 18 Nov 2026MIT12.5M / weekRepositoryHomepagenpmAtom feed
Upgrading astro From 6.2.1 to 6.2.2
1 release in betweenevery note read
- 0
- changes to make
- 0
- advisories fixed
- 0
- new
- 16
- fixes
Security
11 advisories still affect 6.2.2
- Astro: Remote code execution through AVIF image optimizationcritical · GHSA-26w7-cxv4-gfx2
- Astro: Host header SSRF in prerendered error page fetchhigh · GHSA-2pvr-wf23-7pc7
- Astro: Authorization bypass from missing path-segment boundary check when stripping the configured basemoderate · GHSA-376h-93r7-7g6f
Upgrading to 7.4.7 clears them.
Release by release
- Fixed
Fixes head metadata propagation in dev for adapters that load modules in the
prerenderVite environment, such as@astrojs/cloudflare. Theastro:head-metadataplugin previously only tracked thessrenvironment, somaybeRenderHead()could fire inside an unrelated component's<template>element, trapping subsequent hoisted<style>blocks. - Fixed
Fixes build crash when processing animated AVIF images. Sharp now gracefully passes through unsupported image formats instead of crashing during the build.
- Fixed
Fixes scoped styles applying to the wrong element when
vite.css.transformeris set to'lightningcss'and a selector uses a nested&inside:where(...), such as Tailwind v4'sspace-x-*,space-y-*, anddivide-*utilities. - Fixed
Fixes
data-astro-prefetch="tap"not triggering when clicking nested elements (e.g.<span>,<img>,<svg>) inside an anchor tag.
- Fixed
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.