CVE-2024-56140: Atro CSRF Middleware Bypass (security.checkOrigin)
A bug in Astro’s CSRF-protection middleware allows requests to bypass CSRF checks.
References
- github.com/advisories/GHSA-c4pw-33h3-35xw
- github.com/withastro/astro
- github.com/withastro/astro/blob/6031962ab5f56457de986eb82bd24807e926ba1b/packages/astro/src/core/app/middlewares.ts
- github.com/withastro/astro/commit/e7d14c374b9d45e27089994a4eb72186d05514de
- github.com/withastro/astro/security/advisories/GHSA-c4pw-33h3-35xw
- nvd.nist.gov/vuln/detail/CVE-2024-56140
Detect and mitigate CVE-2024-56140 with GitLab Dependency Scanning
Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →