Skip to main content
VulnerabilityPublished

CVE-2025-64525: Astro vulnerable to URL manipulation via headers, leading to middleware and CVE-2025-61925 bypass

Affects astroSource GCVE Database

0
Compare

Mentioned vulnerabilities

Authoritative record:CVE-2025-64525· Medium 6.5

Not known to be exploited · public detection template (Nuclei) · CVSS 6.5 Medium : upgrade to 5.15.5 when convenient.

Data as of 13 Nov 2026, 18:37 UTC

CVSS 3.1 base score
6.5Medium
How severe the flaw is on the 0–10 CVSS scale.
Patch
Available – fixed in 5.15.5
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:L

Exploitation evidence

  1. Disclosed: evidence found.

    CVE published 13 Nov 2025

  2. Weaponized: no evidence on record.

    No public exploit code indexed in Metasploit or Exploit-DB

  3. Exploited in the wild: no evidence on record.

    Not in CISA KEV and no source reports exploitation

  4. Observed by OffSeq Mirage: no evidence on record.

    No attack traffic recorded by OffSeq Mirage sensors

A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 13 Nov 2026.

What to do

Upgrade astro to 5.15.5.

Affected software

ProductAffectedFixed in
npmastroAffected
  • >=2.16.0 <5.15.5
Fixed in
  • 5.15.5

Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.

AI-suggested

A patch addressing this vulnerability is available in Astro version 5.15.5. Users should upgrade to version 5.15.5 or later to remediate the issue. Until patched, avoid relying on the x-forwarded-proto and x-forwarded-port headers for URL construction or implement strict sanitization and validation of these headers to prevent manipulation. No vendor advisory states that no action is required or that the issue is already mitigated without patching.

Description

Astro versions from 2.16.0 up to but not including 5.15.5 are vulnerable to URL manipulation via unsanitized use of the x-forwarded-proto and x-forwarded-port headers in on-demand rendering. This flaw allows attackers to bypass middleware protections on routes, cause denial of service through cache poisoning, perform SSRF attacks, pollute URLs potentially leading to stored cross-site scripting, and bypass web application firewalls. The vulnerability arises because these headers are directly used to construct URLs without validation, enabling attackers to rewrite URLs arbitrarily. A proof of concept demonstrates bypassing middleware route protection by manipulating the protocol header to alter the URL path parsing. A fix is available in version 5.15.5.

References

Community reviews

Loading reviews…