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.
Severity (CVSS)
| Base score | 8.2 |
|---|---|
| Severity | High |
| Version | CVSS 3.1 |
| Vector | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:L/A:N |
| Provided by | CNA |
Weaknesses
- CWE-942 — CWE-942: Permissive Cross-domain Policy with Untrusted Domains
Affected products
| Vendor | Product | Versions |
|---|---|---|
| getgrav | grav-plugin-api | < 1.0.0-rc.16 |
References
- https://github.com/getgrav/grav/security/advisories/GHSA-93px-98wh-6fj2 (x_refsource_CONFIRM)
- https://github.com/getgrav/grav-plugin-api/commit/56ae2ca3bf36c8299a4b3d376c6a20e8c0ed5ba9 (x_refsource_MISC)
- https://github.com/getgrav/grav-plugin-api/releases/tag/1.0.0-rc.16 (x_refsource_MISC)
Generated from the official CVE List on 20 Aug 2026 07:06 UTC.