astro

Every known advisory for the npm package astro, with the affected versions and how widely it is downloaded.

Advisories31
Malicious0
In CISA KEV0
Exposure12,525,175 downloads last week

Newest fixed version among these advisories: 7.4.7. Check your version against each range below.

AdvisoryAffected versionsPublished
CVE-2026-126361 GHSA-mh32-jxcr-mh9f
Astro: XSS via attribute injection in dynamic tag names
every version to 7.4.52026-11-13
CVE-2026-126364 GHSA-r3h5-4585-7x3w
Astro: Image endpoint in @astrojs/node can read files from a case-variant sibling of the output directory on case-sensitive filesystems
5.14.3 to 7.4.72026-11-13
CVE-2026-114128 GHSA-98hj-9722-w3j8
Astro: Reflected/Stored XSS via unescaped <script>/<style> tag content in JSX/MDX rendering
every version to 7.3.22026-10-22
CVE-2026-114127 GHSA-mpr7-6m5w-76rw
Astro: Arbitrary CSS injection in Astro View Transitions
7.1.0 to 7.3.32026-10-22
GHSA-26w7-cxv4-gfx2
Astro: Remote code execution through AVIF image optimization
every version to 7.2.82026-09-08
CVE-2026-84376 GHSA-376h-93r7-7g6f
Astro: Authorization bypass from missing path-segment boundary check when stripping the configured base
every version to 7.2.42026-09-08
CVE-2026-73422 GHSA-4g3v-8h47-v7g6
Astro: Reflected XSS via unescaped View Transition animation properties
2.9.0 to 7.1.02026-07-20
CVE-2026-59727 GHSA-7pw4-f3q4-r2p2
Astro: Cross-site scripting via unescaped transition:* directive values on hydrated islands
3.10.0 to 7.0.42026-07-20
CVE-2026-73423 GHSA-8mv7-9c27-98vc
Astro: composable `astro/hono` pipeline bypasses `security.checkOrigin` when `middleware()` is absent or misordered
7.0.0 to 7.0.62026-07-20
CVE-2026-59729 GHSA-f48w-9m4c-m7f5
Astro: XSS via unescaped spread attribute names in renderHTMLElement (incomplete fix for CVE-2026-54298)
every version to 7.0.62026-07-20
CVE-2026-59731 GHSA-vj59-8hwv-xxmv
Astro: Authorization Bypass via Decode Iteration Limit and Rewrite Path Canonicalization Mismatch
6.4.7 to 6.4.82026-07-20
CVE-2026-54299 GHSA-2pvr-wf23-7pc7
Astro: Host header SSRF in prerendered error page fetch
every version to 6.4.62026-06-16
CVE-2026-50146 GHSA-8hv8-536x-4wqp
Astro: Reflected XSS via unescaped slot name
every version to 6.3.32026-06-16
CVE-2026-54298 GHSA-jrpj-wcv7-9fh9
Astro: XSS via Unescaped Attribute Names in Spread Props
every version to 6.4.62026-06-16
CVE-2026-45028 GHSA-xr5h-phrj-8vxv
Astro: Server island encrypted parameters vulnerable to cross-component replay
every version to 6.1.102026-05-13
CVE-2026-41067 GHSA-j687-52p2-xcff
Astro: XSS in define:vars via incomplete </script> tag sanitization
every version to 6.1.62026-04-21
CVE-2026-33769 GHSA-g735-7g2w-hh3f
Astro: Remote allowlist bypass via unanchored matchPathname wildcard
2.10.10 to 5.18.12026-03-26
CVE-2025-66202 GHSA-whqg-ppgf-wp8c
Astro has an Authentication Bypass via Double URL Encoding, a bypass for CVE-2025-64765
every version to 5.15.82025-12-08
CVE-2025-65019 GHSA-fvmw-cj7j-j39q
Astro Cloudflare adapter has Stored Cross-site Scripting vulnerability in /_image endpoint
every version to 5.15.92025-11-19
CVE-2025-64765 GHSA-ggxq-hp9w-j794
Astro's middleware authentication checks based on url.pathname can be bypassed via url encoded values
every version to 5.15.82025-11-19
CVE-2025-64764 GHSA-wrwg-2hg8-v723
Astro vulnerable to reflected XSS via the server islands feature
every version to 5.15.82025-11-19
CVE-2025-64757 GHSA-x3h8-62x9-952g
Astro Development Server has Arbitrary Local File Read
every version to 5.14.32025-11-19
CVE-2025-64525 GHSA-hr2q-hp5q-x767
Astro vulnerable to URL manipulation via headers, leading to middleware and CVE-2025-61925 bypass
2.16.0 to 5.15.52025-11-13
CVE-2025-64745 GHSA-w2vj-39qv-7vh7
Astro development server error page is vulnerable to reflected Cross-site Scripting
5.2.0 to 5.15.62025-11-13
CVE-2025-59837 GHSA-qcpr-679q-rhm2
Astro's bypass of image proxy domain validation leads to SSRF and potential XSS
5.13.4 to 5.13.102025-10-28
CVE-2025-61925 GHSA-5ff5-9fcw-vg88
Astro's `X-Forwarded-Host` is reflected without validation
every version to 5.14.32025-10-10
CVE-2025-55303 GHSA-xf8x-j4p2-f749
Astro allows unauthorized third-party images in _image endpoint
5.0.0-alpha.0 to 5.13.2
every version to 4.16.19
2025-08-19
CVE-2025-54793 GHSA-cq8c-xv66-36gw
Astros's duplicate trailing slash feature leads to an open redirection security issue
5.2.0 to 5.12.82025-08-07
CVE-2024-56159 GHSA-49w6-73cw-chjr
Astro's server source code is exposed to the public if sourcemaps are enabled
5.0.0-alpha.0 to 5.0.8
every version to 4.16.18
2024-12-19
CVE-2024-56140 GHSA-c4pw-33h3-35xw
Atro CSRF Middleware Bypass (security.checkOrigin)
every version to 4.16.172024-12-18
CVE-2024-47885 GHSA-m85w-3h95-hcf9
DOM Clobbering Gadget found in astro's client-side router that leads to XSS
3.0.0 to 4.16.12024-10-14

Advisories from OSV (GitHub, PyPA, RustSec, Go, OpenSSF malicious packages and more). Scan a whole lockfile on the scan page. Most exposed packages.