CVE-2026-62387 PUBLISHED

Grav < 1.0.0-rc.16 CORS Misconfiguration via API Plugin

Assigner: VulnCheck
Reserved: 13.07.2026 Published: 17.07.2026 Updated: 17.07.2026

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.

Metrics

CVSS Vector: 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
CVSS Score: 7.1

Product Status

Vendor getgrav
Product grav
Versions Default: unaffected
  • affected from 0 to 1.0.0-rc.16 (excl.)
  • Version 1.0.0-rc.16 is unaffected

Credits

  • nicl4ssic reporter

References

Problem Types

  • Permissive Cross-domain Security Policy with Untrusted Domains CWE