Read the docs
TI-2025-39915 Aliases CVE-2025-64525GHSA-hr2q-hp5q-x767

Server-side request forgery in withastro astro

Priority HIGH 68CWE-918Published · Updated

Key facts

Attack vector
Network
Privileges required
None
User interaction
None
Attack complexity
Low
Impact type
—
Confidentiality · integrity · availability
None · Low · Low
Fix status
Fixed

Attack profile from CVSS 3.1 · CNA. Fix status from CNA and GitHub.

Summary

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.

Why it matters now

Exploitation Proof of concept CISA SSVC · not in CISA KEV
EPSS 0.01245 69th percentileScored 2026-11-07
Public exploit Yes 1 exploit referenceTagged by NVD
Fix Fixed astro (withastro): 5.15.5astro (npm): 5.15.5

SSVC decision points

CISA ADP · SSVC 2.0.3

Exploitation
Poc
Automatable
Yes
Technical impact
Partial

The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.

Affected products

VendorProductAffected versionsFixed inStatusSource
withastroastro2.16.0 to before 5.15.55.15.5Patch availableCNA
—astro (npm)2.16.0 to before 5.15.55.15.5Patch availableGHSA-hr2q-hp5q-x767
  • astro Vendorwithastro Affected 2.16.0 to before 5.15.5 Fixed in 5.15.5 Patch available CNA
  • astro (npm) Vendor— Affected 2.16.0 to before 5.15.5 Fixed in 5.15.5 Patch available GHSA-hr2q-hp5q-x767

CPE configurations NVD · 1

CPEVersionsRoleVendor
cpe:2.3:a:astro:astro:*:*:*:*:*:node.js:*:*2.16.0 to before 5.15.5Vulnerablewithastro
  • cpe:2.3:a:astro:astro:*:*:*:*:*:node.js:*:* Versions 2.16.0 to before 5.15.5 Vulnerable ·withastro

Remediation

  • Fix · CNA astro (withastro) Fixed in 5.15.5
  • Fix · GHSA-hr2q-hp5q-x767 astro (npm) Fixed in 5.15.5 Advisory →

Timeline

  1. 2026-10-02 Threatist record created from CVE-2025-64525
  2. 2026-10-03 Alias added: GHSA-hr2q-hp5q-x767

References

  • TI-2024-37142 Server source code is exposed to the public if sourcemaps are enabled CVSS 4.0HIGH 7.8
  • TI-2025-34958 Unauthorized third-party images in Astro’s _image endpoint CVSS 4.0MEDIUM 6.9
  • TI-2025-38274 Astro's `X-Forwarded-Host` is reflected with no validation CVSS 3.1MEDIUM 6.5
  • TI-2026-36915 Astro: Reflected XSS via unescaped slot name CVSS 3.1HIGH 7.1
  • TI-2025-40102 Astro is vulnerable to Reflected XSS via the server islands feature CVSS 3.1HIGH 7.1
  • TI-2025-34548 Astro: Duplicate trailing slash feature can lead to Open Redirects CVSS 4.0MEDIUM 5.5
See all 19 →

Sources