CVE-2025-61925 in Astro
Astro is a web framework. Prior to version 5.14.2, Astro reflects the value in `X-Forwarded-Host` in output when using `Astro.url` without any validation. It is common for web servers such as nginx to route requests via the `Host` header, and forward on other request headers. As such as malicious request can be sent...
Affects 1 product from 1 vendor. Facts below cite their sources.
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
| Vendor | Product | Affected versions |
|---|---|---|
| Astro | Astro | < 5.14.2 |
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-exploited | Not in the CISA KEV catalog |
|---|---|
| Public exploit | Not confirmed |
Official description
Astro is a web framework. Prior to version 5.14.2, Astro reflects the value in `X-Forwarded-Host` in output when using `Astro.url` without any validation. It is common for web servers such as nginx to route requests via the `Host` header, and forward on other request headers. As such as malicious request can be sent with both a `Host` header and an `X-Forwarded-Host` header where the values do not match and the `X-Forwarded-Host` header is malicious. Astro will then return the malicious value. This could result in any usages of the `Astro.url` value in code being manipulated by a request. For example if a user follows guidance and uses `Astro.url` for a canonical link the canonical link can be manipulated to another site. It is theoretically possible that the value could also be used as a login/registration or other form URL as well, resulting in potential redirecting of login credentials to a malicious party. As this is a per-request attack vector the surface area would only be to the malicious user until one considers that having a caching proxy is a common setup, in which case any page which is cached could persist the malicious value for subsequent users. Many other frameworks have an allowlist of domains to validate against, or do not have a case where the headers are reflected to avoid such issues. This could affect anyone using Astro in an on-demand/dynamic rendering mode behind a caching proxy. Version 5.14.2 contains a fix for the issue.
Source: NIST NVD / MITRE CVE.
Record details
| CVE ID | CVE-2025-61925 |
|---|---|
| BreachSpider ID | BS-2025-GLOBAL-026087-M |
| CVSS vector | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:L |
| Published | 2025-10-10 |
| Last modified | 2026-10-08 |
| Weakness (CWE) | |
| Source | NVD |
Weakness definitions
CWE-470: CWE-470
Related attack patterns (CAPEC)
CAPEC-138 Reflection Injection via CWE-470
Mapping is CWE to CAPEC per MITRE CAPEC 3.9.
Analysis AI-written, not human-reviewed
CVE-2025-61925 affects Astro web framework versions prior to 5.14.2, where the value in the `X-Forwarded-Host` header is reflected in output without validation, potentially leading to host header injection attacks.
An attacker can send a malicious request with both a `Host` header and an `X-Forwarded-Host` header where the values do not match. If the application uses `Astro.url` without validating the `X-Forwarded-Host` header, the attacker can inject a malicious host, which could be used for phishing, cache poisoning, or other attacks.
Questions
What is CVE-2025-61925?
CVE-2025-61925 affects Astro web framework versions prior to 5.14.2, where the value in the `X-Forwarded-Host` header is reflected in output without validation, potentially leading to host header injection attacks.
What is the CVSS score for CVE-2025-61925?
CVE-2025-61925 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: 0.6%.
Is CVE-2025-61925 actively exploited?
No confirmed active exploitation of CVE-2025-61925 as of 2026-10-10.
How do I remediate CVE-2025-61925?
Priority: HIGH.
What systems are affected by CVE-2025-61925?
CVE-2025-61925 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"}]}'
MCP for AI agents
# hosted: add as a connector
https://mcp.breachspider.com/mcp
# local
pipx install breachspider-mcp
Free trial: 14 days, 750 device checks, no card.
Page facts from NVD, MITRE, CISA and vendor advisories, record last modified 2026-10-08.