S4E just found a high-severity finding from top 10 tcp port service scan
PlatformPlansPartners
Resources
ToolsBlogDocs
Sign Up →
high·Product Based Web Vulnerabilities·Updated Sep 18, 2025

CVE-2025-58179 Scanner

CVE-2025-58179 Scanner - Server-Side-Request-Forgery (SSRF) vulnerability in Astro Cloudflare Adapter

Est. Time~1 minutes
Scan TypeSingle Scan
Targetsurl
CostFree
3k
Times Used
continuous scan runs
6k
Continuously Checked
assets under CS
0
Vulnerabilities Found
confirmed findings
References
CVECVE-2025-58179
7.2
CVSShigh
Exploitable remotely over the internet · no authentication required.

Astro is a web framework for content-driven websites. Versions 11.0.3 through 12.6.5 are vulnerable to SSRF when using Astro's Cloudflare adapter. When configured with output: 'server' while using the default imageService: 'compile', the generated image optimization endpoint doesn't check the URLs it receives, allowing content from unauthorized third-party domains to be served. a A bug in impacted versions of the @astrojs/cloudflare adapter for deployment on Cloudflare’s infrastructure, allows an attacker to bypass the third-party domain restrictions and serve any content from the vulnerable origin. This issue is fixed in version 12.6.6.

Attack Vector
Network
Privileges Req.
None
User Interaction
None
Affected
astroby withastro
>= 11.0.3, < 12.6.6
Updated Sep 9, 2026View on NVD →
Detail

Astro Cloudflare Adapter is a component of Astro, a popular web framework designed for building fast, content-driven websites. Developed by the Astro team, it is specifically used for deploying Astro applications on Cloudflare's infrastructure. The product leverages Cloudflare's edge network to optimize the delivery of web content, enhancing both performance and reliability. With its comprehensive tools, developers often use the adapter to facilitate seamless integration between Astro applications and Cloudflare's services. The adapter is especially beneficial for managing image optimization and deploying server-rendered applications efficiently.

Server-Side Request Forgery (SSRF) is a critical vulnerability where an attacker can coerce a server into making unauthorized requests on their behalf. This vulnerability exists within the Astro Cloudflare Adapter when using output:'server' mode in conjunction with the default imageService:'compile'. In such scenarios, the image optimization endpoint fails to validate the external URLs it accepts. As a result, malicious actors can exploit this flaw to serve unauthorized content, potentially leading to data exfiltration or further systemic entry points. Such vulnerabilities can severely compromise the data integrity and confidentiality of the affected systems.

Technically, the SSRF vulnerability in the Astro Cloudflare Adapter arises from improper validation of URLs in its image optimization feature. Specifically, when configured with output:'server', the endpoint does not restrict content from unauthorized domains, leading to possible information leakage. Attackers could exploit this by serving inappropriate content via unauthorized third-party domains. The flaw resides in the adapter's implementation for Cloudflare, where cross-origin checks are inadequately enforced. Utilizing payloads such as crafted SVGs allows an attacker to potentially manipulate server responses, highlighting the critical need for strict content validation processes.

Exploiting this SSRF vulnerability can have serious ramifications. An attacker may leverage the flaw to infiltrate unauthorized domains, posing a risk of data theft or manipulation. Moreover, bypassing the security measures can allow attackers to tunnel their requests through the vulnerable server, masking their activities. Such breaches compromise the server's integrity by potentially exposing sensitive internal services to unintended access. Consequently, it could lead to a domino effect, impacting other connected systems and resulting in substantial operational disruptions.

REFERENCES

Solution Advice
  • Update to Astro version 12.6.6 or later where the vulnerability is patched.
  • Implement strict URL validation in the image optimization endpoint to prevent unauthorized requests.
  • Enforce cross-origin resource sharing (CORS) policies to limit content from unauthorized domains.
  • Regularly monitor and audit network traffic for abnormal server interactions.
  • Consider isolating image optimization services to reduce exposure from SSRF vulnerabilities.

Get AI-powered remediation steps tailored to your asset.

Try AI Solutions →

Check your infrastructure.
Right now.

11,000+ scanners. Free to start. No credit card required.

CVE-2025-58179 Scanner - Server-Side-Request-Forgery (SSRF) vulnerability in Astro Cloudflare Adapter | S4E