Vulnerability in Getgrav Grav

CVE-2026-62387

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.

EPSS: 0.003 (26.8th percentile) — read the EPSS interpretation.

CVSS v3 metric

CVSS v3 base score 7.1 (High). Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:L/A:N.

Affected products

Weakness classification (CWE)

References

Frequently asked questions

What is CVE-2026-62387?
CVE-2026-62387 is a high-severity vulnerability in Getgrav Grav, classified under Permissive Cross-domain Policy with Untrusted Domains. CVSS score: 7.1/10. Published 2026-07-17.
How severe is CVE-2026-62387?
High severity. CVSS v3 base score is 7.1 out of 10.