Web Framework Vulnerability in Astro by Astro
CVE-2025-61925

6.5MEDIUM

Key Information:

Vendor

Withastro

Status
Vendor
CVE Published:
10 October 2025

What is CVE-2025-61925?

Astro is a web framework that exhibits a security flaw where it reflects the unvalidated value of the X-Forwarded-Host header in outputs when utilizing Astro.url. This could allow for an attacker to manipulate requests by sending mismatched Host and X-Forwarded-Host headers, leading to potential redirection of users to malicious sites. If an application leverages Astro.url for canonical links, the integrity of those links may be compromised, possibly redirecting users during login or registration processes. Given that many configurations involve caching proxies, malicious values may persist, affecting subsequent users. Version 5.14.2 addresses this vulnerability by implementing necessary input validation, highlighting the importance of secure coding practices in web development.

Affected Version(s)

astro < 5.14.2

References

CVSS V3.1

Score:
6.5
Severity:
MEDIUM
Confidentiality:
None
Integrity:
Low
Availability:
None
Attack Vector:
Network
Attack Complexity:
Low
Privileges Required:
None
User Interaction:
None
Scope:
Unchanged

Timeline

  • Vulnerability published

  • Vulnerability Reserved

.
CVE-2025-61925 : Web Framework Vulnerability in Astro by Astro