CVE-2026-58656 Grav API Plugin - Cross-Origin Admin Account Takeover via CORS Wildcard and JWT Query Parameter
HighCVSS 8.7
EPSS 0.45%
- Published
- Updated
- Exploit status
- No public exploit known
- CISA SSVC
- Proof of concept public · automatable: yes · technical impact: partial
Description
Grav API plugin before v1.0.0-rc.16 accepts JWT tokens via the ?token= URL query parameter and responds with Access-Control-Allow-Origin: *, allowing unauthenticated attackers to make fully authenticated cross-origin API requests from any malicious website. Attackers who obtain a leaked JWT token from access logs, proxy logs, browser history, or Referrer headers can create persistent backdoor super-admin accounts and exfiltrate sensitive configuration and user data.
Upgrade path
1 package: 1 fixed.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| getgrav grav-plugin-api | < 1.0.0-rc.16 | 1.0.0-rc.16 | Fixed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| getgrav grav-plugin-api | < 1.0.0-rc.16 | 1.0.0-rc.16 |
References
- GitHub Security Advisory (GHSA-hqm9-5xxw-4qxp) exploit vendor-advisory
- VulnCheck Advisory: Grav API Plugin - Cross-Origin Admin Account Takeover via CORS Wildcard and JWT Query Parameter third-party-advisory
- ENISA EUVD EUVD-2026-42266 third-party-advisory