CVE Catalog

CVE-2025-64765

MediumCVSS 5.3
Published: Updated: Translated: NVD NIST

Exploitation Probability (EPSS)

Low risk
0.50%

42th percentile - higher than 42% of all known CVEs

Summary

Prior to Astro 5.15.8, a mismatch exists between how Astro normalizes request paths for routing and how middleware reads the path for validation. Astro applies decodeURI() while middleware uses context.url.pathname without normalization, potentially allowing bypass of validation checks.

Risk Assessment

An attacker could reach protected routes using encoded path variants, bypassing validation mechanisms.

Recommendation

Update Astro to version 5.15.8 or later.

Other vulnerabilities in Astro

See all
Original NVD description (English source)

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.

Vulnerability data from NVD (NIST) · CISA KEV · EPSS