CVE-2025-64525 json
Astro: URL manipulation via unsanitized headers leads to path-based middleware protections bypass, potential SSRF/cache-poisoning, CVE-2025-61925 bypass
published 2025-11-13 11 mo ago modified 2026-10-07 32 d ago also EUVD-2025-175298 , GHSA-hr2q-hp5q-x767
- cvss
- 6.5
- version 3.1, CNA
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 1.2%
- EPSS 1.2% chance of exploitation in 30 days, percentile 69%
- public exploits
- 0
- none known, plus a Nuclei check
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.
Patch / fix
CISA SSVC
- Exploitation
- Proof of concept is public
- Automatable
- yes
- Technical impact
- partial
- Assessed
- 11 mo ago
Exploit prediction
1.24% chance of exploitation in the next 30 days, higher than 69% of all scored CVEs (FIRST EPSS, 2026-11-08).
Exploits and checks
- Nuclei template Astro - Broken Access Control nuclei detection template
- github.com https://github.com/withastro/astro/security/advisories/GHSA-hr2q-hp5q-x767 referenced PoC, tagged "exploit" by a source, unverified
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| CNA | 3.1 | 6.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:L |
| GitHub | 3.1 | 6.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:L |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| npm | astro | >=2.16.0, <5.15.5 |
5.15.5 |
Affected products
- withastro astro
Classification
- Weakness
-
- CWE-918 Server-Side Request Forgery
References
-
github.com
/withastro/astro/commit/dafbb1ba29912099c4faff1440033edc768af8b4
web, patch
-
github.com
/withastro/astro/security/advisories/GHSA-hr2q-hp5q-x767
web, exploit, third-party-advisory
-
github.com
/withastro/astro/blob/970ac0f51172e1e6bff4440516a851e725ac3097/packages/astro/src/core/app/node.ts#L121
web, product
-
github.com
/withastro/astro/blob/970ac0f51172e1e6bff4440516a851e725ac3097/packages/astro/src/core/app/node.ts#L97
web, product
-
nvd.nist.gov
/vuln/detail/CVE-2025-64525
advisory
-
github.com
/withastro/astro
package
Sources
- CVE List CVE-2025-64525
- GitHub Advisory GHSA-hr2q-hp5q-x767
- NVD CVE-2025-64525
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.
CPEs and fixed versions use Anchore's correction of NVD's data: Added CPE configurations because not yet analyzed by NVD.