CVE-2026-73423
astro: Astro: Cross-site Request Forgery (CSRF) due to origin check bypass in `astro/hono` pipeline
Overview
Description
Astro is a web framework for content-driven websites. From 7.0.0 until 7.0.6, the composable astro/hono pipeline installs security.checkOrigin only through the middleware() primitive, while actions() and pages() can dispatch to user code independently. Mounting actions() before middleware(), as in the examples/advanced-routing example and Cloudflare Hono documentation, allows cross-origin form-encoded action requests to execute before the origin check, and using pages() without middleware() drops the check for on-demand endpoints and pages. The flaw enables blind write-only cross-site request forgery using the victim's cookies against ActionHandler.handle and PagesHandler.handleWithErrorFallback when manifest.checkOrigin is enabled; the attacker can trigger a state-mutating action or endpoint handler but cannot read the cross-origin response. The default non-composable astro() pipeline is not affected. This issue is fixed in version 7.0.6.
Source: OX vulnerability database
Severity
4.3 · MEDIUM
CVSS 3.1 base score, scored by redhat.
- Attack vector
- Network
- Attack complexity
- Low
- Privileges required
- None
- User interaction
- Required
- Scope
- Unchanged
- Confidentiality
- None
- Integrity
- Low
- Availability
- None
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:L/A:N
Weakness: CWE-352
Affected packages · 1
| Ecosystem | Package | Vulnerable | Fixed in |
|---|---|---|---|
| npm | astro | >=7.0.0, <7.0.6 | 7.0.6 |
Open a package to see all its vulnerabilities.
Operating systems
No Linux distribution reports this ID.
References
- access.redhat.com https://access.redhat.com/security/cve/CVE-2026-73423
- github.com https://github.com/withastro/astro
- github.com https://github.com/withastro/astro/commit/0b30b35f864310bee8485c952d1877e82e2b9b1a
- github.com https://github.com/withastro/astro/pull/17250
- github.com https://github.com/withastro/astro/releases/tag/astro@7.0.6
- github.com https://github.com/withastro/astro/security/advisories/GHSA-8mv7-9c27-98vc
- nvd.nist.gov https://nvd.nist.gov/vuln/detail/CVE-2026-73423
- www.cve.org https://www.cve.org/CVERecord?id=CVE-2026-73423
OX Radar and Response Center
Find threats in your stack.
OX Radar can check high-priority threats, like critical package CVEs, against your context.
Each incident is marked Detected or Not Detected with a remediation plan and proof all tracked in the Response Center.