Packages

astro

7.4.13 · 18 Nov 2026MIT12.5M / weekRepositoryHomepagenpmAtom feed

Upgrading astro From 6.4.5 to 6.4.8

3 releases in betweenevery note read

Other targets from 6.4.5Clears its 10 advisories7.4.7Latest7.4.13
  1. 6.4.5yours
  2. 6.4.6
  3. 6.4.7security
  4. 6.4.8target

Security

Fixes 2 advisories affecting 6.4.5

  • This preserves the security fix for CVE-2025-66202 (middleware authorization bypass via double encoding) because middleware now always sees the fully decoded path, making bypass impossible.

    6.4.7

Release by release

  1. 6.4.8

    17 Jun 20261 fix
    • Fixed

      Harden the limits on the number of decoding on the URL.

  2. 6.4.7

    Security fix15 Jun 20261 new · 10 fixes
    • Security

      This preserves the security fix for CVE-2025-66202 (middleware authorization bypass via double encoding) because middleware now always sees the fully decoded path, making bypass impossible.

    • New

      Adds a JSON schema to the Wrangler configuration file generated when running astro add cloudflare

    • Fixed

      Fixes getRelativeLocaleUrl, getAbsoluteLocaleUrl, and getAbsoluteLocaleUrlList to strip trailing slashes when trailingSlash: 'never' is configured

    • Fixed

      Fixes double URL-encoded paths returning 400 Bad Request on on-demand routes

  3. 6.4.6

    10 Jun 20263 fixes
    • Fixed

      Fixes an issue where renaming an image file while the dev server is running triggers a build error. Now Astro correctly hot-reloads the image without crashing.

    • Fixed

      Hardens addAttribute to drop attribute names containing characters that are invalid per the HTML spec (", ', >, /, =, whitespace)

    • Fixed

      Validates the request origin against allowedDomains before fetching prerendered error pages. When allowedDomains is configured and the Host header matches, the original origin is used. Otherwise, the fetch falls back to localhost.

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.