CVE-2025-55207 @astrojs/node's trailing slash handling causes open redirect issue
- Published
- Updated
- Exploit status
- No public exploit known
- CISA SSVC
- Proof of concept public · automatable: no · technical impact: partial
Description
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.
Upgrade path
2 packages: 1 fixed.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| @astrojs/node(npm) | < 9.4.1; <= 9.4.0 | 9.4.1 | Fixed |
| withastro astro | = < 9.4.1 | No fix listed | Versions listed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| @astrojs/node(npm) | <= 9.4.0 | No fix listed |
| withastro astro | = < 9.4.1 | No fix listed |
| @astrojs/node(npm) | < 9.4.1 | 9.4.1 |
References
- https://github.com/withastro/astro/security/advisories/GHSA-9x9c-ghc5-jhw9 vendor-advisory
- https://github.com/withastro/astro/commit/5fc3c599cacb0172cc7d8e1202a5f2e8685d7ef2 patch
- nvd.nist.gov third-party-advisory vendor-advisory
- github.com
- github.com product