CVE-2025-64525
Last modified
CVE-2025-64525 is a medium-severity vulnerability rated 6.5/10 on the CVSS scale. Astro is a web framework. In Astro versions 2.16.0 up to but excluding 5.15.5 which utilizeon-demand rendering, request headers `x-forwarded-proto` and `x-forwarded-port` are insecurely used, without sanitization, to build the URL. EPSS estimates a 1.09% chance of exploitation in the next 30 days.
Description
Astro is a web framework. In Astro versions 2.16.0 up to but excluding 5.15.5 which utilizeon-demand rendering, request headers `x-forwarded-proto` and `x-forwarded-port` are insecurely used, without sanitization, to build the URL. This has several consequences, the most important of which are: middleware-based protected route bypass (only via `x-forwarded-proto`), DoS via cache poisoning (if a CDN is present), SSRF (only via `x-forwarded-proto`), URL pollution (potential SXSS, if a CDN is present), and WAF bypass. Version 5.15.5 contains a patch.
Metrics
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:L
Weakness Enumeration
Affected Software
| Vendor | Product | Versions |
|---|---|---|
| Astro | Astro | >= 2.16.0, < 5.15.5 |
References
- https://github.com/withastro/astro/security/advisories/GHSA-hr2q-hp5q-x767Exploit, Third Party Advisory
Timeline
- Published
- Last Modified
- Status
- Analyzed
Frequently Asked Questions
What is CVE-2025-64525?
How severe is CVE-2025-64525?
How do I fix CVE-2025-64525?
How Strix Helps
- One Click Account Takeover in GranolaHow a notification link broke out of Electron and led to a one-click account takeover.
- Autonomous PentestingAI agents that find and validate exploitable vulnerabilities like this one across your applications.
- PR ReviewsPentest every pull request so vulnerable code is caught before it ships to production.
- AI Penetration TestingHow AI-driven penetration testing continuously covers your attack surface.
Related CVEs from 2025
- CVE-2025-6452A vulnerability was found in CodeAstro Patient Record Manage…4.8
- CVE-2025-64520GLPI is a free asset and IT management software package. Sta…4.3
- CVE-2025-64521authentik is an open-source Identity Provider. Prior to vers…4.8
- CVE-2025-64522Soft Serve is a self-hostable Git server for the command lin…7.6
- CVE-2025-64523File Browser provides a file managing interface within a spe…8.8
- CVE-2025-64524cups-filters contains backends, filters, and other software …5.5
- CVE-2025-64526Strapi is an open source headless content management system.…5.3
- CVE-2025-64527Envoy is a high-performance edge/middle/service proxy. In 1.…6.5
- CVE-2025-64528Discourse is an open source discussion platform. Prior to ve…5.3
- CVE-2025-64529SpiceDB is an open source database system for creating and m…6.5
- CVE-2025-6453A vulnerability classified as critical has been found in diy…4.3
- CVE-2025-64530Apollo Federation is an architecture for declaratively compo…7.5
Are you affected by CVE-2025-64525?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
