CVE-2026-63407

Grav API Plugin: CORS 'Access-Control-Allow-Origin: *' on Authenticated API Responses

State
Published
Severity
8.2 High
Published
Aug 19, 2026
Updated
Aug 25, 2026
Reserved
Jul 16, 2026

Read the record on cve.org

Description

Grav API Plugin is a RESTful API for Grav CMS that provides full headless access to your site's content. Prior to 1.0.0-rc.16, the Grav API plugin CorsMiddleware returns Access-Control-Allow-Origin: * and permissive OPTIONS responses for authenticated /api/v1 endpoints. JavaScript from any origin can submit an attacker-obtained JWT through the Authorization or X-API-Token header, read the authenticated response, and perform write operations with the token owner's privileges, enabling data exfiltration and account modification. This issue is fixed in version 1.0.0-rc.16.

Scores

CVSSScoreVectorSource
3.18.2 HighCVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:L/A:NGitHub_M

Weaknesses

  • CWE-942 Permissive Cross-domain Policy with Untrusted Domains

Affected Products

ProductVersions
grav-plugin-apigetgrav
  • < 1.0.0-rc.16Affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.