npm/astro CVE-2024-56140: medium 5.9, EPSS 0.22%
Atro CSRF Middleware Bypass (security.checkOrigin)
Action: Upgrade astro to 4.16.17 or later.
npm i astro@4.16.17Affected
| introduced | fixed | last affected |
|---|---|---|
| 0 | 4.16.17 | - |
Fixed versions
| 4.16.17 |
Sources
- osv: GHSA-c4pw-33h3-35xw
- https://github.com/withastro/astro/security/advisories/GHSA-c4pw-33h3-35xw
- https://nvd.nist.gov/vuln/detail/CVE-2024-56140
- https://github.com/withastro/astro/commit/e7d14c374b9d45e27089994a4eb72186d05514de
- https://developer.mozilla.org/en-US/docs/Web/HTTP/CORS#simple_requests
- https://github.com/withastro/astro
- https://github.com/withastro/astro/blob/6031962ab5f56457de986eb82bd24807e926ba1b/packages/astro/src/core/app/middlewares.ts
CVE-2024-56140 · published · modified · JSON