CVE-2025-55207
@astrojs/node's trailing slash handling causes open redirect issue
Also known as GHSA-9x9c-ghc5-jhw9
Mitigation
- Upgrade @astrojs/node to 9.4.1 or later.
Who should check
- Projects that depend on npm package @astrojs/node (< 9.4.1)
- Anyone running withastro astro < 9.4.1
Vulnerability facts
- Affected
- @astrojs/node < 9.4.1
- Fixed in
- 9.4.1
- Exploited in the wild
- Not in CISA KEV
- Public exploit / PoC
- None known
- Remote exploitation
- Remote, no login needed
- CVSS
- 5.5 (v4.0, CNA)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:POpen in CVSS calculator
Show all 12 CVSS metrics
- Attack vector: Network
- Attack complexity: Low
- Attack requirements: None
- Privileges required: None
- User interaction: None
- Confidentiality impact: None
- Integrity impact: None
- Availability impact: None
- Confidentiality impact on other systems: Low
- Integrity impact on other systems: Low
- Availability impact on other systems: None
- Exploit maturity: Proof of concept
- EPSS
- 0.69% chance of exploitation in 30 days (percentile 48, 2026-11-26)
- CWE
- CWE-601
- Modified
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.
Affected and fixed versions
| Package / product | Affected | Fixed | Source |
|---|---|---|---|
| npm @astrojs/node | < 9.4.1 | 9.4.1 | osv |
| withastro astro | < 9.4.1 | — | cvelist |
Check your systems with an agent
Paste this into Claude Code, Cursor or another coding agent. It only reads; it changes nothing.
Check whether anything I run is affected by CVE-2025-55207. Work read-only: do not install, upgrade, delete or change anything. Details: https://flawdb.com/CVE-2025-55207.md Affected: @astrojs/node < 9.4.1 Fixed in: 9.4.1 Steps: 1. Search this machine and project for @astrojs/node (npm), withastro astro: dependency manifests and lockfiles, installed packages, container images and running services. 2. For each match, note the installed version and whether it is inside the affected range. 3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
References
Vendor advisories
FAQ
Is CVE-2025-55207 being exploited?
There is no confirmed exploitation: CVE-2025-55207 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.69% chance of exploitation in the next 30 days (as of 2026-11-26).
How serious is CVE-2025-55207?
Medium: CVSS 5.5 (v4.0, scored by CNA). Remote, no login needed.
Which versions are affected by CVE-2025-55207?
@astrojs/node < 9.4.1.
Is there a fix for CVE-2025-55207?
Yes. Fixed in 9.4.1. Upgrade @astrojs/node to 9.4.1 or later.
How do I check if I'm affected by CVE-2025-55207?
Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.