{"id":"CVE-2025-64525","sourceIdentifier":"security-advisories@github.com","published":"2025-11-13T16:15:56.447","lastModified":"2026-10-07T21:10:00.200","vulnStatus":"Analyzed","cveTags":[],"descriptions":[{"lang":"en","value":"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."},{"lang":"es","value":"Astro es un framework web. En las versiones de Astro 2.16.0 hasta la 5.15.5 (excluyéndola), que utilizan renderizado bajo demanda, las cabeceras de solicitud 'x-forwarded-proto' y 'x-forwarded-port' se utilizan de forma insegura, sin sanitización, para construir la URL. Esto tiene varias consecuencias, las más importantes de las cuales son: la elusión de rutas protegidas basada en middleware (solo a través de 'x-forwarded-proto'), DoS mediante envenenamiento de caché (si hay una CDN presente), SSRF (solo a través de 'x-forwarded-proto'), contaminación de URL (potencial SXSS, si hay una CDN presente) y la elusión de WAF. La versión 5.15.5 contiene un parche."}],"affected":[{"source":"security-advisories@github.com","affectedData":[{"vendor":"withastro","product":"astro","versions":[{"version":">= 2.16.0, < 5.15.5","status":"affected"}]}]}],"metrics":{"cvssMetricV31":[{"source":"security-advisories@github.com","type":"Secondary","cvssData":{"version":"3.1","vectorString":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:L","baseScore":6.5,"baseSeverity":"MEDIUM","attackVector":"NETWORK","attackComplexity":"LOW","privilegesRequired":"NONE","userInteraction":"NONE","scope":"UNCHANGED","confidentialityImpact":"NONE","integrityImpact":"LOW","availabilityImpact":"LOW"},"exploitabilityScore":3.9,"impactScore":2.5}],"ssvcV203":[{"source":"134c704f-9b21-4f2e-91b3-4a467353bcc0","ssvcData":{"timestamp":"2025-11-13T16:15:07.067807Z","id":"CVE-2025-64525","options":[{"exploitation":"poc"},{"automatable":"yes"},{"technicalImpact":"partial"}],"role":"CISA Coordinator","version":"2.0.3"}}]},"weaknesses":[{"source":"security-advisories@github.com","type":"Secondary","description":[{"lang":"en","value":"CWE-918"}]}],"configurations":[{"nodes":[{"operator":"OR","negate":false,"cpeMatch":[{"vulnerable":true,"criteria":"cpe:2.3:a:astro:astro:*:*:*:*:*:node.js:*:*","versionStartIncluding":"2.16.0","versionEndExcluding":"5.15.5","matchCriteriaId":"1C5C6C54-B40E-40C9-B3EF-905E2A559278"}]}]}],"references":[{"url":"https://github.com/withastro/astro/blob/970ac0f51172e1e6bff4440516a851e725ac3097/packages/astro/src/core/app/node.ts#L121","source":"security-advisories@github.com","tags":["Product"]},{"url":"https://github.com/withastro/astro/blob/970ac0f51172e1e6bff4440516a851e725ac3097/packages/astro/src/core/app/node.ts#L97","source":"security-advisories@github.com","tags":["Product"]},{"url":"https://github.com/withastro/astro/commit/dafbb1ba29912099c4faff1440033edc768af8b4","source":"security-advisories@github.com","tags":["Patch"]},{"url":"https://github.com/withastro/astro/security/advisories/GHSA-hr2q-hp5q-x767","source":"security-advisories@github.com","tags":["Exploit","Third Party Advisory"]}]}