CVE-2026-62387

High

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.

SeverityHigh
CVSS7.1
Exploit probability—
ProductGrav
PublishedJul 17, 2026
First seenJul 17, 2026
Weakness typeCWE-942CWE-942

How to fix

Update
  • getgrav grav1.0.0-rc.16 or later

Affected products

ProductAffected versionsFixed in
getgrav gravv < 1.0.0-rc.161.0.0-rc.16

Check your version

Choose the product and enter the version you run to see whether it falls in the affected range.

In the Intelligence 360 plan

Attack Surface Management

See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.