Vulnerabilities/

Astro has Full-Read SSRF in error rendering via Host: header injection

Severity:
Medium

Description

Server-Side Rendered pages that return an error with a prerendered custom error page (eg. 404.astro or 500.astro) are vulnerable to SSRF. If the Host: header is changed to an attacker’s server, it will be fetched on /500.html and they can redirect this to any internal URL to read the response body through the first request.

Recommendation

Update the @astrojs/node package to the latest compatible version. Followings are version details:

References

Related Issues

Tags:
npm
@astrojs/node
Anything's wrong? Let us know Last updated on February 25, 2026