Vulnerability 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.
CVSS Score
HIGH
Related Weaknesses (CWE)
References
- https://github.com/getgrav/grav/security/advisories/GHSA-93px-98wh-6fj2
- https://www.vulncheck.com/advisories/grav-rc-16-cors-misconfiguration-via-api-pl
- https://github.com/getgrav/grav/security/advisories/GHSA-93px-98wh-6fj2
FAQ
What is CVE-2026-62387?
CVE-2026-62387 is a vulnerability with a CVSS score of 7.1 (HIGH). 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 prefli...
How severe is CVE-2026-62387?
CVE-2026-62387 has been rated HIGH with a CVSS base score of 7.1/10. Review the CVSS metrics above for detailed severity breakdown.
Is there a patch for CVE-2026-62387?
Check the references section above for vendor advisories and patch information. Review vendor security bulletins for remediation guidance.