CVE-2026-62387 Grav < 1.0.0-rc.16 CORS Misconfiguration via API Plugin
- Published
- Updated
- Exploit status
- No public exploit known
- CISA SSVC
- Proof of concept public · automatable: no · technical impact: partial
Description
The Grav API plugin (getgrav/grav-plugin-api) before 1.0.0-rc.16 shipped Access-Control-Allow-Origin: * as its default CORS configuration on all responses, including authenticated endpoints and preflight (OPTIONS) responses. Because the plugin accepts credentials via the Authorization and X-API-Token headers (set programmatically by JavaScript rather than via cookies), an attacker who obtains a valid access token (e.g., via log leakage, Referer headers, browser history, or network capture) can issue fully authenticated cross-origin requests from any malicious website to read sensitive data and perform write operations as the token's user. Fixed in 1.0.0-rc.16.
Upgrade path
1 package: 1 fixed.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| getgrav/grav | < 1.0.0-rc.16 | 1.0.0-rc.16 | Fixed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| getgrav/grav | < 1.0.0-rc.16 | 1.0.0-rc.16 |
References
- GitHub Security Advisory (GHSA-93px-98wh-6fj2) exploit vendor-advisory
- VulnCheck Advisory: Grav < 1.0.0-rc.16 CORS Misconfiguration via API Plugin third-party-advisory