Description
A bug in Astro’s CSRF-protection middleware allows requests to bypass CSRF checks.
Recommendation
Update the astro package to the latest compatible version. Followings are version details:
- Affected version(s): < 4.16.17
- Patched version(s): 4.16.17
References
Related Issues
- Astro vulnerable to URL manipulation via headers, leading to middleware and CVE-2025-61925 bypass - CVE-2025-64525
- Parse Server's GraphQL WebSocket endpoint bypasses security middleware - CVE-2026-32594
- @strapi/plugin-users-permissions leaks 3rd party authentication tokens and authentication bypass - CVE-2024-34065
- @hono/node-server: Middleware bypass via repeated slashes in serveStatic - CVE-2026-39406
You might also like:
- Tags:
- npm
- astro
Anything's wrong? Let us know Last updated on November 27, 2025


