Server-side Request Forgery (SSRF) Affecting astro package, versions <5.17.3


Severity

Recommended
0.0
medium
0
10

CVSS assessment by Snyk's Security Team. Learn more

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-15357600
  • published26 Feb 2026
  • disclosed26 Feb 2026
  • creditpHo9UBenaA

Introduced: 26 Feb 2026

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

How to fix?

Upgrade astro to version 5.17.3 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) via the inferSize option that fetches remote images at render time to determine their dimensions. An attacker can cause the server to make unauthorized requests to arbitrary remote hosts by supplying crafted image URLs.

References

CVSS Base Scores

version 4.0
version 3.1