{"id":"CVE-2025-64525","revision":"15e38065354e44a792599a2d68a64598","records":[{"revision":"15e38065354e44a792599a2d68a64598","observedAt":"2026-10-25T03:17:29.935+00:00","statement":{"source":"nvd","id":"CVE-2025-64525","aliases":[],"title":"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…","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.","state":0,"publishedAt":"2025-11-13T16:15:56.447+00:00","modifiedAt":"2026-10-07T21:10:00.2+00:00","affected":[],"metrics":[{"system":"CVSS 3.1 · security-advisories@github.com · Secondary","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:L","score":6.5,"severity":"MEDIUM"}],"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#L97","https://github.com/withastro/astro/commit/dafbb1ba29912099c4faff1440033edc768af8b4","https://github.com/withastro/astro/security/advisories/GHSA-hr2q-hp5q-x767"],"sourceUrl":"https://nvd.nist.gov/vuln/detail/CVE-2025-64525","license":"NIST NVD usage terms; underlying source attribution retained","enrichment":{"sourceStatus":"Analyzed","weaknesses":["CWE-918"],"productCriteria":["cpe:2.3:a:astro:astro:*:*:*:*:*:node.js:*:*"],"sourceDates":{"published":"2025-11-13T16:15:56.447","lastModified":"2026-10-07T21:10:00.200"},"relatedAdvisories":[],"note":"NVD analysis and CPE criteria are source context, not proof that a package or your environment is affected. Complete affected data, logical configurations and SSVC are retained in the original JSON."},"key":"nvd:CVE-2025-64525","identifiers":["CVE-2025-64525"]},"retained":false,"historicalAffected":[]}],"coverage":[]}