CVE-2025-64525

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

Configuration 1 (hide)

cpe:2.3:a:astro:astro:*:*:*:*:*:node.js:*:*

History

25 Nov 2025, 15:14

Type Values Removed Values Added
References () https://github.com/withastro/astro/blob/970ac0f51172e1e6bff4440516a851e725ac3097/packages/astro/src/core/app/node.ts#L121 - () https://github.com/withastro/astro/blob/970ac0f51172e1e6bff4440516a851e725ac3097/packages/astro/src/core/app/node.ts#L121 - Product
References () https://github.com/withastro/astro/blob/970ac0f51172e1e6bff4440516a851e725ac3097/packages/astro/src/core/app/node.ts#L97 - () https://github.com/withastro/astro/blob/970ac0f51172e1e6bff4440516a851e725ac3097/packages/astro/src/core/app/node.ts#L97 - Product
References () https://github.com/withastro/astro/commit/dafbb1ba29912099c4faff1440033edc768af8b4 - () https://github.com/withastro/astro/commit/dafbb1ba29912099c4faff1440033edc768af8b4 - Patch
References () https://github.com/withastro/astro/security/advisories/GHSA-hr2q-hp5q-x767 - () https://github.com/withastro/astro/security/advisories/GHSA-hr2q-hp5q-x767 - Exploit, Third Party Advisory
CPE cpe:2.3:a:astro:astro:*:*:*:*:*:node.js:*:*
First Time Astro astro
Astro

13 Nov 2025, 16:15

Type Values Removed Values Added
New CVE

Information

Published : 2025-11-13 16:15

Updated : 2025-11-25 15:14


NVD link : CVE-2025-64525

Mitre link : CVE-2025-64525

CVE.ORG link : CVE-2025-64525


JSON object : View

Products Affected

astro

  • astro
CWE
CWE-918

Server-Side Request Forgery (SSRF)