Live threats

All CVEs / Astro

CVE-2025-64525Astro

Medium 6.5 No auth needed

Priority
54
CVSS 3.1
6.5
EPSS
—
Auth required
No
Published
Nov 13, 2025
Updated
Oct 7, 2026
Category
Application · Cross-platform
Weakness (CWE)
CWE-918
SSVC (CISA)
Exploitation: proof of concept · Automatable: yes · Technical impact: partial
Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:L

What happens

Astro is a web framework. In Astro versions 2.16.0 up to but excluding 5.15.5 which utilizeon-demand rendering, request headers `x-forwarded-proto` and `x-forwarded-port` are insecurely used, without sanitization, to build the URL. This has several consequences, the most important of which are: middleware-based protected route bypass (only via `x-forwarded-proto`), DoS via cache poisoning (if a CDN is present), SSRF (only via `x-forwarded-proto`), URL pollution (potential SXSS, if a CDN is present), and WAF bypass. Version 5.15.5 contains a patch.

Original NVD text.

What to do

  1. Apply the vendor's security update for Astro.
  2. It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.

Affected packages

EcosystemPackageAffected versionsFixed inHow to upgrade
npm astro ≥ 2.16.0 < 5.15.5 5.15.5 npm install astro@5.15.5

Per OSV / GitHub Advisories (GHSA-hr2q-hp5q-x767). Check the version in your lockfile before upgrading.

Affected products (CPE)

VendorProductVersions
astroastro≥ 2.16.0 < 5.15.5

Official sources

References

Links published by the sources. Open them with care.