CVE-2026-62387: Permissive Cross-domain Security Policy with Untrusted Domains in getgrav grav
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.
AI Analysis
Technical Summary
CVE-2026-62387 describes a vulnerability in the Grav API plugin (getgrav/grav-plugin-api) where versions prior to 1.0.0-rc.16 shipped with a default CORS policy that allowed all origins via Access-Control-Allow-Origin: *. This included authenticated endpoints and OPTIONS preflight responses. Since the plugin accepts credentials through Authorization and X-API-Token headers set by JavaScript, an attacker with a valid token (obtained through means such as log leakage or network capture) can issue fully authenticated cross-origin requests from malicious websites. This enables unauthorized reading and writing of data as the token's user. The vulnerability was addressed and fixed in version 1.0.0-rc.16.
Potential Impact
An attacker who obtains a valid access token can exploit the overly permissive CORS policy to perform authenticated cross-origin requests, potentially reading sensitive data and performing write operations with the privileges of the compromised token's user. This elevates the risk of data exposure and unauthorized actions within the affected Grav API plugin versions.
Mitigation Recommendations
Upgrade to version 1.0.0-rc.16 or later, where the CORS policy has been corrected to restrict Access-Control-Allow-Origin appropriately. Since the fix is included in 1.0.0-rc.16, applying this update fully mitigates the vulnerability. Patch status is confirmed fixed in 1.0.0-rc.16.
CVE-2026-62387: Permissive Cross-domain Security Policy with Untrusted Domains in getgrav grav
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 v4.0
Score 7.1high
Affected software
Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
CVE-2026-62387 describes a vulnerability in the Grav API plugin (getgrav/grav-plugin-api) where versions prior to 1.0.0-rc.16 shipped with a default CORS policy that allowed all origins via Access-Control-Allow-Origin: *. This included authenticated endpoints and OPTIONS preflight responses. Since the plugin accepts credentials through Authorization and X-API-Token headers set by JavaScript, an attacker with a valid token (obtained through means such as log leakage or network capture) can issue fully authenticated cross-origin requests from malicious websites. This enables unauthorized reading and writing of data as the token's user. The vulnerability was addressed and fixed in version 1.0.0-rc.16.
Potential Impact
An attacker who obtains a valid access token can exploit the overly permissive CORS policy to perform authenticated cross-origin requests, potentially reading sensitive data and performing write operations with the privileges of the compromised token's user. This elevates the risk of data exposure and unauthorized actions within the affected Grav API plugin versions.
Mitigation Recommendations
Upgrade to version 1.0.0-rc.16 or later, where the CORS policy has been corrected to restrict Access-Control-Allow-Origin appropriately. Since the fix is included in 1.0.0-rc.16, applying this update fully mitigates the vulnerability. Patch status is confirmed fixed in 1.0.0-rc.16.
Technical Details
- Data Version
- 5.2
- Assigner Short Name
- VulnCheck
- Date Reserved
- 2026-07-13T22:40:54.412Z
- Cvss Version
- 4.0
- State
- PUBLISHED
- Remediation Level
- null
Threat ID: 6a59784368715ace4305da8c
Added to database: 07/17/2026, 00:33:07 UTC
Last enriched: 07/17/2026, 00:47:28 UTC
Last updated: 08/30/2026, 10:52:10 UTC
Views: 102
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.