CVE-2025-61925
JavaScript vulnerability analysis and mitigation

Overview

CVE-2025-61925 affects Astro, a web framework, prior to version 5.14.2. The vulnerability was discovered and disclosed on October 10, 2025, impacting applications using Astro in on-demand/dynamic rendering mode behind a caching proxy. The vulnerability allows attackers to manipulate the X-Forwarded-Host header value which is reflected without validation when using Astro.url (GitHub Advisory).

Technical details

The vulnerability stems from Astro's handling of the X-Forwarded-Host header in its server-side rendering mode. When using Astro.url, the framework reflects the value of the X-Forwarded-Host header without proper validation. This occurs when a malicious request contains both a Host header and an X-Forwarded-Host header with mismatching values. The vulnerability has been assigned a CVSS v3.1 base score of 6.5 (Medium) with the vector string CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:L (Miggo).

Impact

The vulnerability can lead to several security issues: canonical link manipulation, potential redirection of login credentials to malicious parties, and web cache poisoning. While the attack initially affects only the malicious user's request, when the application is behind a caching proxy, the cached page could persist the malicious value for subsequent users, expanding the attack surface (GitHub Advisory).

Mitigation and workarounds

The vulnerability has been patched in Astro version 5.14.2. Users should upgrade to this version or later to mitigate the risk. The fix includes implementing proper validation of the X-Forwarded-Host header value before using it in the application (GitHub Advisory).

Additional resources


SourceThis report was generated using AI

Related JavaScript vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

CVE-2025-66456CRITICAL9.1
  • JavaScriptJavaScript
  • elysia
NoYesDec 09, 2025
CVE-2025-66457HIGH7.5
  • JavaScriptJavaScript
  • elysia
NoYesDec 09, 2025
CVE-2025-65849MEDIUM6.9
  • JavaScriptJavaScript
  • altcha
NoNoDec 08, 2025
CVE-2025-66202MEDIUM6.5
  • JavaScriptJavaScript
  • astro
NoYesDec 09, 2025
CVE-2025-66479LOW1.8
  • JavaScriptJavaScript
  • @anthropic-ai/sandbox-runtime
NoYesDec 04, 2025

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management