BreachSpiderVerified, not vibes

CVE-2025-64525 in Astro

Medium 6.5

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 prot...

Affects 1 product from 1 vendor. Facts below cite their sources.

CVSS 3.16.5
EPSS1.6%
EPSS percentile77th
FixUnknown

Remotely exploitable over the network, low complexity, no authentication required, no user interaction needed, impact contained to the vulnerable component, no confidentiality impact.

Affected products and versions

VendorProductAffected versions
Astro Astro ≥ 2.16.0, < 5.15.5

A product listed here is affected only at the versions shown. Use the free check to test the exact version you run.

Fix and vendor advisory

No official vendor advisory link on record. See the CVE record.

Exploitation

CISA known-exploitedNot in the CISA KEV catalog
Public exploitNot confirmed

Official description

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.

Source: NIST NVD / MITRE CVE.

Record details

CVE IDCVE-2025-64525
BreachSpider IDBS-2025-GLOBAL-027818-M
CVSS vectorCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:L
Published2025-11-13
Last modified2026-10-07
Weakness (CWE)
SourceNVD

Weakness definitions

CWE-918: Server-Side Request Forgery (SSRF)

Attacker causes the server to make HTTP requests to attacker-chosen destinations, potentially reaching internal services.

Related attack patterns (CAPEC)

CAPEC-664 Server Side Request Forgery via CWE-918

Mapping is CWE to CAPEC per MITRE CAPEC 3.9.

Analysis AI-written, not human-reviewed

CVE-2025-64525 affects Astro web framework versions 2.16.0 up to but excluding 5.15.5, where unsanitized `x-forwarded-proto` and `x-forwarded-port` request headers are used to build URLs, leading to potential middleware-based protected route bypass and DoS via cache poisoning.

Attackers can manipulate the `x-forwarded-proto` and `x-forwarded-port` headers to bypass middleware protections or poison caches, potentially leading to unauthorized access or denial of service.

Questions

What is CVE-2025-64525?

CVE-2025-64525 affects Astro web framework versions 2.16.0 up to but excluding 5.15.5, where unsanitized `x-forwarded-proto` and `x-forwarded-port` request headers are used to build URLs, leading to potential middleware-based protected route bypass and DoS via cache poisoning.

What is the CVSS score for CVE-2025-64525?

CVE-2025-64525 has CVSS 6.5 (Medium). Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:L. EPSS: 1.6%.

Is CVE-2025-64525 actively exploited?

No confirmed active exploitation of CVE-2025-64525 as of 2026-10-08.

How do I remediate CVE-2025-64525?

Priority: HIGH.

What systems are affected by CVE-2025-64525?

CVE-2025-64525 affects Astro Astro.

For developers and AI agents

Run this check from your own code or agent

REST API

curl -s https://breachspider.com/api/v1/assets/correlate-cves \
 -H "Authorization: Bearer $BREACHSPIDER_API_KEY" \
 -H "Content-Type: application/json" \
 -d '{"assets":[{"asset_id":"dev-1","vendor":"Astro","product":"Astro","version":"1.0"}]}'

API reference

Python SDK

pip install breachspider

PyPI · GitHub

MCP for AI agents

# hosted: add as a connector
https://mcp.breachspider.com/mcp
# local
pipx install breachspider-mcp

Setup for Claude, ChatGPT, Cursor

Free trial: 14 days, 750 device checks, no card.

Page facts from NVD, MITRE, CISA and vendor advisories, record last modified 2026-10-07.