CONTENTUM.COMA specialist. A plan. A result.

Vulnerabilities · 2025 · Astro

CVE-2025-64765
Astro vulnerability

Astro is a web framework. Prior to version 5.15.8, a mismatch exists between how Astro normalizes request paths for routing/rendering and how the application’s middleware reads the path for validation checks. Astro internally applies decodeURI() to determine which route to render, while the middleware uses context.url.pathname without applying the same normalization (decodeURI). This discrepancy may allow attackers to reach protected routes using encoded path variants that pass routing but bypass validation checks. This issue has been patched in version 5.15.8.

Affected products

Astro. The exact versions are in the references.

What to do now

  • Check your exposureFind out whether Astro runs anywhere in your environment, including systems of suppliers.
  • UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
  • Limit access until thenIf you cannot update at once, take the system off the internet or restrict who can reach it.

References

More vulnerabilities in Astro products

Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.