CVE-2026-62387 Details
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.
A CORS misconfiguration vulnerability has been identified in the Grav API plugin (getgrav/grav-plugin-api) versions prior to 1.0.0-rc.16. The plugin's default CORS setting allowed all origins to access API responses, including those from authenticated endpoints. This vulnerability is exacerbated by the plugin's acceptance of credentials via the Authorization and X-API-Token headers, which can be manipulated by JavaScript. An attacker who obtains a valid access token can make authenticated cross-origin requests from a malicious website, potentially accessing sensitive data and performing actions on behalf of the token's user.
Users are advised to update the Grav API plugin to version 1.0.0-rc.16 or later, where this vulnerability has been fixed.
Metrics
CVSS 4.0 Severity and Vector Strings:
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
Volerion
Assessed Jul 17, 2026CISA-ADP
Assessed Jul 17, 2026References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://github.com/getgrav/grav/security/advisories/GHSA-93px-98wh-6fj2 | CISA-ADP | AdvisoryExploitRemedy |
| https://github.com/getgrav/grav/security/advisories/GHSA-93px-98wh-6fj2 | [email protected] | AdvisoryExploitRemedy |
| https://www.vulncheck.com/advisories/grav-rc-16-cors-misconfiguration-via-api-plugin | [email protected] | AdvisoryRemedy |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-942 | Permissive Cross-domain Policy with Untrusted Domains | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| Grav API | <= 1.0.0-rc.15 (semver) |
CPE
Remediation
| |
Change History
2 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Jul 17, 2026 | CVE Modified | CISA-ADP |
| Jul 17, 2026 | New CVE Received | [email protected] |
Volerion