Web Framework Vulnerability in Astro Affects Multiple Versions

6.5MEDIUM

CVE-2025-64525

Key Information:

Vendor

Withastro

Status
Astro
CVE ID
CVE ID:
CVE-2025-64525
Vendor
CVE Published:
13 November 2025

Timeline

Trending 7 days after it was published

  • πŸ“ˆ

    Vulnerability started trending

  • Vulnerability published

  • Vulnerability Reserved

Badges

πŸ“ˆ TrendedπŸ“ˆ Score: 2,270

How risky is it?

  • Yes: Works over the network, no login needed
  • No: No public exploit yet
  • No: Not on CISA's exploited list
  • No: No ransomware use seen

Our verdict

Check today

Find out if you're affected. If you are, patch.

What to do

1Check the vendor's fix

No fixed version is recorded yet. The vendor advisory is the authoritative source for patches.

2Can't patch yet? Reduce exposure

It can be reached over the network, so limit who can reach Astro. Block it from the internet, allow only trusted hosts or a VPN, and turn off the affected feature if you don't use it, until you can update.

3Why it's rated "Check today"
  • It can be exploited remotely without credentials.
  • Its CVSS severity is medium (6.5).

What is CVE-2025-64525?

CVE-2025-64525 is a vulnerability in the Astro web framework, affecting versions from 2.16.0 up to but excluding 5.15.5. The flaw arises from the insecure handling of request headers x-forwarded-proto and x-forwarded-port during on-demand rendering, which are used to construct URLs without proper sanitization. An attacker can exploit this vulnerability to bypass protected routes, cause denial of service through cache poisoning, or perform server-side request forgery (SSRF).

Version 5.15.5 includes a patch for this vulnerability.

Potential Impact of CVE-2025-64525

  1. Protected route bypass: Attackers can access restricted routes by manipulating the x-forwarded-proto header.
  2. Denial of service: Cache poisoning can occur if a CDN is present, potentially disrupting service availability.

Affected Version(s)

astro >= 2.16.0, < 5.15.5

References

Server-Side Request Forgery Vulnerability in Astro Web Framework

CVE-2026-25545
WithastroAstro6.9MEDIUM

XSS in Astro Web Framework

CVE-2025-64764
WithastroAstro7.1HIGH
View more Withastro vulnerabilities...

Facts on this page come from the sources listed above; the writeup is AI-assisted. How we rate vulnerabilities Β· Report a correction

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
.