CVE-2026-62387
HIGH
7.1
CVSS 3.1
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.
Metadata
Severity & Metrics
7.1
HIGH CVSS 3.1
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:L/A:N
Affected products (1)
| Vendor | Product | Platform | Versions |
|---|---|---|---|
| getgrav | grav | — | 0 < 1.0.0-rc.16, 1.0.0-rc.16 |
Weakness (CWE)
| CWE | Source | Description |
|---|---|---|
| CWE-942 | cna | Permissive Cross-domain Security Policy with Untrusted Domains |
CVSS scores (2)
| Score | Severity | Version | Source | Vector |
|---|---|---|---|---|
| 7.1 | HIGH | 4.0 | cna | CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:P/VC:H/VI:L/VA:N/SC:N/SI:N/SA:N |
| 7.1 | HIGH | 3.1 | cna | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:L/A:N |
References (2)
- GitHub Security Advisory (GHSA-93px-98wh-6fj2) https://github.com/getgrav/grav/security/advisories/GHSA-93px-98wh-6fj2
- VulnCheck Advisory: Grav < 1.0.0-rc.16 CORS Misconfiguration via API Plugin https://www.vulncheck.com/advisories/grav-rc-16-cors-misconfiguration-via-api-plugin