Goal Reached Thanks to every supporter — we hit 100%!

Goal: 1000 CNY · Raised: 1336 CNY

100%

CVE-2025-54793— Astro: Duplicate trailing slash feature can lead to Open Redirects

Quick assessment

Affected
withastro astro
Exploitation
Public or AI PoC available; prioritize validation
Recommended action
Check the vendor advisory and references for a fixed version. If immediate upgrade is impossible, restrict exposure and increase monitoring.

Astro是Astro开源的一个内容驱动网站的 web 框架。 Astro 5.2.0至5.12.7版本存在输入验证错误漏洞,该漏洞源于双斜杠路径处理不当,可能导致开放重定向攻击。

AI Predicted 5.4 Difficulty: Trivial EPSS 0.61% · P48

Public Exploits 1

Get alerts for future matching vulnerabilities Log in to subscribe

I. Basic Information for CVE-2025-54793

Vulnerability Information

Have questions about the vulnerability? See if Shenlong's analysis helps!
View Shenlong Deep Dive ↗

Although we use advanced large model technology, its output may still contain inaccurate or outdated information.Shenlong tries to ensure data accuracy, but please verify and judge based on the actual situation.

Vulnerability Title
Astro: Duplicate trailing slash feature can lead to Open Redirects
Source: CVE Program / CVE List V5
Vulnerability Description
Astro is a web framework for content-driven websites. In versions 5.2.0 through 5.12.7, there is an Open Redirect vulnerability in the trailing slash redirection logic when handling paths with double slashes. This allows an attacker to redirect users to arbitrary external domains by crafting URLs such as https://mydomain.com//malicious-site.com/. This increases the risk of phishing and other social engineering attacks. This affects sites that use on-demand rendering (SSR) with the Node or Cloudflare adapters. It does not affect static sites, or sites deployed to Netlify or Vercel. This issue is fixed in version 5.12.8. To work around this issue at the network level, block outgoing redirect responses with a Location header value that starts with `//`.
Source: CVE Program / CVE List V5
CVSS Information
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
Source: CVE Program / CVE List V5
Vulnerability Type
指向未可信站点的URL重定向(开放重定向)
Source: CVE Program / CVE List V5
Vulnerability Title
Astro 输入验证错误漏洞
Source: CNNVD (China National Vulnerability Database)
Vulnerability Description
Astro是Astro开源的一个内容驱动网站的 web 框架。 Astro 5.2.0至5.12.7版本存在输入验证错误漏洞,该漏洞源于双斜杠路径处理不当,可能导致开放重定向攻击。
Source: CNNVD (China National Vulnerability Database)
CVSS Information
N/A
Source: CNNVD (China National Vulnerability Database)
Vulnerability Type
N/A
Source: CNNVD (China National Vulnerability Database)

Affected Products

Vendor Product Affected Versions CPE Subscribe
withastro astro >= 5.2.0, < 5.12.8 -

II. Public POCs for CVE-2025-54793

# POC Description Source Link Shenlong Link
1 Group project — CVE-2025-54793 detection & mitigation (Bhuvanesh, Shiva, Emma) https://github.com/Bhuvanesh-Murdoch2005/ict279-cve-2025-54793 POC Details
2 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. https://github.com/projectdiscovery/nuclei-templates/blob/main/http/cves/2025/CVE-2025-54793.yaml POC Details
AI-Generated POC Premium

No public POC found.

Login to generate AI POC

III. Intelligence Information for CVE-2025-54793

登录查看更多情报信息。

IV. Related Vulnerabilities

V. Comments for CVE-2025-54793

No comments yet


Leave a comment