Server-side Request Forgery (SSRF) Affecting astro package, versions <5.17.3>=6.0.0-alpha.0 <6.0.0-beta.7


Severity

Recommended
0.0
high
0
10

CVSS assessment by Snyk's Security Team. Learn more

Threat Intelligence

Exploit Maturity
Proof of Concept
EPSS
0.04% (12th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications

Snyk Learn

Learn about Server-side Request Forgery (SSRF) vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-JS-ASTRO-15338137
  • published24 Feb 2026
  • disclosed23 Feb 2026
  • creditRein Daelman,Robbe Verwilghen

Introduced: 23 Feb 2026

NewCVE-2026-25545  (opens in a new tab)
CWE-918  (opens in a new tab)

How to fix?

Upgrade astro to version 5.17.3, 6.0.0-beta.7 or higher.

Overview

astro is an Astro is a modern site builder with web best practices, performance, and DX front-of-mind.

Affected versions of this package are vulnerable to Server-side Request Forgery (SSRF) in renderError(), when custom prerendered error pages like 404.astro or 500.astro are in use. The resolved URL which is passed to a fetch() call allows redirects. As a result, attackers can access internal network resources and retrieve sensitive response bodies by manipulating the Host header to point to an attacker-controlled server.

CVSS Base Scores

version 4.0
version 3.1