Cross-Origin Resource Sharing Flaw in Grav API Plugin for Grav CMS
CVE-2026-63407
8.2HIGH
What is CVE-2026-63407?
The Grav API Plugin, a RESTful API for Grav CMS, has a vulnerability that permits unauthenticated JavaScript from any origin to interact with authenticated API endpoints. This occurs due to the CorsMiddleware returning a permissive Access-Control-Allow-Origin header and weak OPTIONS responses. Attackers can exploit this flaw by submitting a stolen JWT via the Authorization header or X-API-Token, potentially leading to unauthorized data access and modifications on the victim's account. This vulnerability is resolved in version 1.0.0-rc.16.
Affected Version(s)
grav-plugin-api < 1.0.0-rc.16
