Is astro 5.16 vulnerable?

npm · 17 releases from 5.16.0 to 5.16.16 · latest astro is 7.4.4 · checked 1 Nov 2026

Yes: 12 known advisories

Yes. astro 5.16.16, the last 5.16 release, is affected by 12 known security advisories (1 critical, 2 high, 6 medium, 3 low), including CVE-2026-54299, CVE-2026-50146, CVE-2026-114128. Upgrade to 7.3.2 or later to fix all of them.

Upgrade with:npm install astro@7.3.2

Is your project affected?

Private repo? Upload its lockfile instead, or connect GitHub to check every repo.

Advisories affecting astro 5.16.16

  • MediumCVE-2026-114128GHSA-98hj-9722-w3j822 Oct 2026

    Astro: Reflected/Stored XSS via unescaped <script>/<style> tag content in JSX/MDX rendering

    Affected
    <7.3.2
    Fixed in
    7.3.2
  • CriticalGHSA-26w7-cxv4-gfx28 Sept 2026

    Astro: Remote code execution through AVIF image optimization

    Affected
    <7.2.8
    Fixed in
    7.2.8
  • MediumCVE-2026-84376GHSA-376h-93r7-7g6f8 Sept 2026

    Astro: Authorization bypass from missing path-segment boundary check when stripping the configured base

    Affected
    <7.2.4
    Fixed in
    7.2.4
  • MediumCVE-2026-59729GHSA-f48w-9m4c-m7f520 Jul 2026

    Astro: XSS via unescaped spread attribute names in renderHTMLElement (incomplete fix for CVE-2026-54298)

    Affected
    <7.0.6
    Fixed in
    7.0.6
  • LowCVE-2026-59727GHSA-7pw4-f3q4-r2p220 Jul 2026

    Astro: Cross-site scripting via unescaped transition:* directive values on hydrated islands

    Affected
    >=3.10.0 <7.0.4
    Fixed in
    7.0.4
  • MediumCVE-2026-73422GHSA-4g3v-8h47-v7g620 Jul 2026

    Astro: Reflected XSS via unescaped View Transition animation properties

    Affected
    >=2.9.0 <7.1.0
    Fixed in
    7.1.0
  • MediumCVE-2026-54298GHSA-jrpj-wcv7-9fh916 Jun 2026

    Astro: XSS via Unescaped Attribute Names in Spread Props

    Affected
    <6.4.6
    Fixed in
    6.4.6
  • HighCVE-2026-54299GHSA-2pvr-wf23-7pc716 Jun 2026

    Astro: Host header SSRF in prerendered error page fetch

    Affected
    <6.4.6
    Fixed in
    6.4.6
  • HighCVE-2026-50146GHSA-8hv8-536x-4wqp16 Jun 2026

    Astro: Reflected XSS via unescaped slot name

    Affected
    <6.3.3
    Fixed in
    6.3.3
  • LowCVE-2026-45028GHSA-xr5h-phrj-8vxv13 May 2026

    Astro: Server island encrypted parameters vulnerable to cross-component replay

    Affected
    <6.1.10
    Fixed in
    6.1.10
  • MediumCVE-2026-41067GHSA-j687-52p2-xcff21 Apr 2026

    Astro: XSS in define:vars via incomplete </script> tag sanitization

    Affected
    <6.1.6
    Fixed in
    6.1.6
  • LowCVE-2026-33769GHSA-g735-7g2w-hh3f26 Mar 2026

    Astro: Remote allowlist bypass via unanchored matchPathname wildcard

    Affected
    >=2.10.10 <5.18.1
    Fixed in
    5.18.1

Which of your client projects are still on astro 5.16?

NPMscan reads the lockfiles in every GitHub repo you pick, finds the exact astro version each one installs, and checks it against these advisories. Each finding comes with the command that fixes it.

Other astro versions

Advisory data from OSV.dev (opens OSV.dev in a new tab), which includes the GitHub Advisory Database. Release list from the npm registry. Refreshed daily.