01 Record
CVE-2024-56140
Bypass of CSRF Middleware in Astro
MediumPUBLISHEDCNA: GitHub_M
CNA base score5.9 CVSS v3.xCVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:L/I:H/A:N
02 Description
Bypass of CSRF Middleware in Astro
03 Exploitation and scoring
- Exploitation
- Public exploit code exists. CISA's assessment records a public proof of concept. That is not a report of exploitation in the wild.
- SSVC decision
- ExploitationpocPublic proof-of-concept exploit code exists. Not a report of exploitation in the wild.
- AutomatablenoAt least one step from reconnaissance to exploitation cannot be reliably automated.
- Technical ImpactpartialSuccessful exploitation gives limited control of the vulnerable component.
- EPSS probability
- 0.22% probability of exploitation activity in the next 30 days.
- EPSS percentile
- Equal to or higher than the score of 12.7% of scored records. A rank, not a probability.
- NVD base score
- 6.5 (CVSS v3.x), scored by the NVD independently of the CNA.
- NVD CVSS vector
- CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:N
- NVD analysis status
- Analyzed. NVD last modified this record on 2026-06-17.
- Red Hat severity
- No Red Hat rating. Red Hat rates the CVEs that affect its products.
Exploit-prediction scores from FIRST. Independent scoring and analysis status from the NVD. Vendor severity from Red Hat. Exploitation assessment and catalog membership from CISA.
04 Metadata
- Published
- 2024-12-18 20:41Z1 YR AGO
- Last updated
- 2024-12-18 21:03Z1 YR AGO
- Reserved
- 2024-12-16
- Assigning CNA
- GitHub_M
- Record state
- PUBLISHED
- Severity
- Medium (CVSS 5.9)
- CNA CVSS vector
- CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:L/I:H/A:N
- Weaknesses
- CWE-352Cross-Site Request Forgery (CSRF)Compound
- Data version
- 5.1
- Document digest
- 6b630f196a92346878ad8494223e259dfe92bf20fd1001ec29332fb3e294fd46
05 Affected products
VendorProductVersionsPlatforms
06 References
- github.comhttps://github.com/withastro/astro/security/advisories/GHSA-c4pw-33h3-35xw
- github.comhttps://github.com/withastro/astro/commit/e7d14c374b9d45e27089994a4eb72186d05514de
- developer.mozilla.orghttps://developer.mozilla.org/en-US/docs/Web/HTTP/CORS#simple_requests
- github.comhttps://github.com/withastro/astro/blob/6031962ab5f56457de986eb82bd24807e926ba1b/packages/astro/src/core/app/middlewares.ts