{"id":"CVE-2025-55207","published":"2025-08-15T15:13:08Z","modified":"2025-08-15T19:10:33Z","title":"@astrojs/node's trailing slash handling causes open redirect issue","vendor":"withastro","product":"astro","tier":"tail","description":{"text":"Astro is a web framework for content-driven websites. Following CVE-2025-54793 there's still an Open Redirect vulnerability in a subset of Astro deployment scenarios prior to version 9.4.1. Astro 5.12.8 addressed CVE-2025-54793 where https://example.com//astro.build/press would redirect to the external origin //astro.build/press. However, with the Node deployment adapter in standalone mode and trailingSlash set to \"always\" in the Astro configuration, https://example.com//astro.build/press still redirects to //astro.build/press. This affects any user who clicks on a specially crafted link pointing to the affected domain. Since the domain appears legitimate, victims may be tricked into trusting the redirected page, leading to possible credential theft, malware distribution, or other phishing-related attacks. This issue has been patched in version 9.4.1.","provenance":"source","from":"CVE.org"},"cvss":{"score":5.5,"severity":"MEDIUM","version":"4.0","vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:N/SC:L/SI:L/SA:N/E:P","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00652,"percentile":0.52202,"provenance":"source"},"cwes":[{"id":"CWE-601","name":"URL Redirection to Untrusted Site"}],"references":[{"url":"https://github.com/withastro/astro/security/advisories/GHSA-9x9c-ghc5-jhw9","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/withastro/astro/commit/5fc3c599cacb0172cc7d8e1202a5f2e8685d7ef2","tags":["x_refsource_MISC"]}],"priority":{"score":14.3,"factors":[{"name":"EPSS percentile","points":10.44},{"name":"CVSS severity","points":3.85}]},"vendorSlug":"withastro","affectedVersions":[{"vendor":"withastro","product":"astro","versions":["< 9.4.1"]}],"ssvc":{"exploitation":"poc","automatable":"no","technicalImpact":"partial","timestamp":"2025-08-15T19:10:24.679222Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"npm","package":"@astrojs/node","vulnerableRanges":["<9.4.1"],"patched":["9.4.1"],"from":["GHSA-9x9c-ghc5-jhw9"],"provenance":"source"}],"summary":{"text":"Astro's @astrojs/node adapter, when running in standalone mode with trailingSlash set to \"always\", fails to properly handle URLs with a double slash after the domain, so a request like https://example.com//astro.build/press still redirects the user to the external //astro.build/press address. An attacker can exploit this by sending a specially crafted link to a victim, requiring no authentication or special network position, only that the victim clicks the link, after which the trusted-looking domain redirects them to an external site where credentials or malware may be used against them.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T21:45:02Z"},"euvd":{"id":"EUVD-2025-25029","exploited":false,"provenance":"source"},"lineage":{"packageHistory":[{"cve":"CVE-2025-55303","published":"2025-08-19","fixed":"9.1.1","kev":false,"link":{"from":"CVE-2025-55303","to":"CVE-2025-55207","relation":"successor","confidence":"low","kind":"sequence","orderedBy":"description","evidence":[{"kind":"version-step","provenance":"source","package":"npm:@astrojs/node","fromFixed":"9.1.1","toFixed":"9.4.1","daysApart":-4}]}},{"cve":"CVE-2025-55207","published":"2025-08-15","fixed":"9.4.1","kev":false},{"cve":"CVE-2026-25545","published":"2026-02-24","fixed":"9.5.4","kev":false,"link":{"from":"CVE-2025-55207","to":"CVE-2026-25545","relation":"successor","confidence":"low","kind":"sequence","evidence":[{"kind":"version-step","provenance":"source","package":"npm:@astrojs/node","fromFixed":"9.4.1","toFixed":"9.5.4","daysApart":193}]}},{"cve":"CVE-2026-27729","published":"2026-02-24","fixed":"9.5.4","kev":false,"link":{"from":"CVE-2025-55207","to":"CVE-2026-27729","relation":"successor","confidence":"low","kind":"sequence","evidence":[{"kind":"version-step","provenance":"source","package":"npm:@astrojs/node","fromFixed":"9.4.1","toFixed":"9.5.4","daysApart":193}]}},{"cve":"CVE-2026-27829","published":"2026-02-26","fixed":"9.5.4","kev":false,"link":{"from":"CVE-2025-55207","to":"CVE-2026-27829","relation":"successor","confidence":"low","kind":"sequence","evidence":[{"kind":"version-step","provenance":"source","package":"npm:@astrojs/node","fromFixed":"9.4.1","toFixed":"9.5.4","daysApart":195}]}}],"package":"npm:@astrojs/node"}}