Open redirect via double-slash path canonicalization
Published Aug 8, 2025 · Updated Aug 8, 2025
Open redirect in Astro 5.2.0 through 5.12.7 allows remote attackers to send users to external domains via crafted double-slash URLs. The SSR trailing-slash canonicalizer fails to classify paths beginning with // as internal exceptions, so it emits attacker-controlled network-path references in Location headers. Only on-demand rendered sites using Node or Cloudflare adapters are exposed; static, Netlify, and Vercel deployments are unaffected, and exploitation requires a user to follow the crafted link.
Summary
What happened
Open redirect in Astro 5.2.0 through 5.12.7 allows remote attackers to send users to external domains via crafted double-slash URLs. The SSR trailing-slash canonicalizer fails to classify paths beginning with // as internal exceptions, so it emits attacker-controlled network-path references in Location headers. Only on-demand rendered sites using Node or Cloudflare adapters are exposed; static, Netlify, and Vercel deployments are unaffected, and exploitation requires a user to follow the crafted link.
The record
- CVE
- CVE-2025-54793
- Published
- Aug 8, 2025
- Updated
- Aug 8, 2025
- Vendor
- Astro Technology Company
- Product
- Astro
- Classifications
- CWE-601, T1566.002
- Attack vector
- network
- Privileges
- unauthenticated
Timeline
How it unfolded
- Aug 8, 2025CVE publishedPublication date reported by the CVE source.
- Aug 8, 2025Record updatedLatest update available in the CVE record.
Exploitability
Present is not the same as exploitable
Compare your product and version with the public record. A matching version still requires validation against your environment.
Is a vulnerable build present?
Compare these published version ranges with your installed build and any vendor patches.
- Affected versionversion=>= 5.2.0, < 5.12.8
What conditions does exploitation require?
What is affected?
Published CVSS scores
CVSS describes severity. EPSS estimates exploitation probability.
Attacks
What attackers are doing with it
Daily unique IPs observed by Shadowserver honeypots for known exploited vulnerabilities (KEVs). Missing observations do not establish an absence of attacks.
Weakness, pattern, technique
Public exploit references
- Double-slash external redirect demonstrationproof of concept · demonstrated
Labels summarize the accepted research assessment. They do not indicate a test against your environment.
Technologies
Your stack
See the directory against your own environment.
Your stack
Check the software in your environment
Book a demo to see how Hinoki identifies affected software and validates exploitability in your environment.
Book a demo