id: CVE-2025-54793 info: name: Astro SSR - Open Redirect author: DhiyaneshDk severity: medium description: | Astro 5.2.0 through 5.12.7 contains an open redirect caused by improper handling of paths with double slashes in trailing slash redirection logic, letting attackers redirect users to arbitrary external domains, exploit requires on-demand SSR with Node or Cloudflare adapters. impact: | Attackers can redirect users to malicious sites, increasing phishing and social engineering risks. remediation: | Upgrade to version 5.12.8 or later; alternatively, block outgoing redirects with Location headers starting with // at the network level. reference: - https://github.com/withastro/astro/security/advisories/GHSA-cq8c-xv66-36gw - https://nvd.nist.gov/vuln/detail/CVE-2025-54793 - https://github.com/withastro/astro/commit/9ec88a04f93611cc07deff76ef6a18c88d6a77b9 classification: cvss-metrics: CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N cvss-score: 6.1 cve-id: CVE-2025-54793 epss-score: 0.00646 epss-percentile: 0.71071 cwe-id: CWE-601 metadata: verified: true max-request: 3 vendor: withastro product: astro shodan-query: http.component:"Astro" fofa-query: app="Astro" tags: cve,cve2025,astro,redirect,open-redirect http: - method: GET path: - "{{BaseURL}}//interact.sh/en//" - "{{BaseURL}}//interact.sh/en/" - "{{BaseURL}}//interact.sh/en" stop-at-first-match: true matchers-condition: and matchers: - type: status status: - 301 - 302 - 307 - 308 - type: regex part: header regex: - '(?i)location:\s*//interact\.sh' # digest: 4a0a0047304502203d8847158f3a5b4b2212b42ad191a649b567acdc0d5b47058d6e072fd1961ae4022100a8ee8b4600f7c917324f9da1dc2f0f6244a4636ca024597d78e40fcdf6691051:922c64590222798bb761d5b6d8e72950