Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessObtain leaked valid API token
-
DeliveryHost malicious page with attacker JS
-
ExploitVictim browser loads page
-
ExecutionCross-origin request sends token header
-
PersistWildcard CORS permits reading response
-
ImpactExfiltrate data and perform writes
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A02:2025 - Security Misconfiguration
ASVS 5.0
V13 - Configuration CORS policy restriction
|
| Exploitation Conditions | Exploitation requires the attacker to already possess a valid API access token for the target Grav instance - obtained out-of-band via log leakage, Referer headers, browser history, or network capture - and requires the Grav API plugin to be installed at a version before 1.0.0-rc.16 with its default 'Access-Control-Allow-Origin: *' CORS configuration intact. The attack then executes when a browser loads attacker-controlled JavaScript (UI:P). Limiting factors: without a leaked token there is no impact, so any deployment that avoids token leakage or overrides the CORS header via a proxy is not exploitable; the flaw is specific to the header-based (not cookie-based) authentication model this plugin uses. |
| Impact | The CVSS 4.0 base score of 7.1 (AV:N/AC:L/AT:N/PR:N/UI:P/VC:H/VI:L/VA:N) reflects high confidentiality impact with lower integrity impact and no availability impact, consistent with an information-disclosure and limited-write CORS flaw rather than direct code execution. The most important caveat is that real-world exploitation is gated on the attacker first obtaining a valid access token - the description explicitly lists leakage vectors such as logs, Referer headers, browser history, or network capture - so the vendor's PR:N understates a meaningful precondition that this analysis treats as elevated attack complexity. No EPSS score, POC, or KEV entry was provided, so there is no evidence of active or automated exploitation; this is a real but conditional risk best characterized as targeted rather than opportunistic. The Information Disclosure and CORS Misconfiguration tags and the VulnCheck advisory corroborate the confidentiality-centric framing. |
| Exploit ScenarioDerived | An attacker recovers a valid API access token from a leaked log file, a Referer header, or captured traffic, then hosts a malicious web page whose JavaScript issues fetch() calls to the target Grav API with that token in the Authorization or X-API-Token header. Because every response carries 'Access-Control-Allow-Origin: *', the attacker's browser-based script can read authenticated response bodies to exfiltrate sensitive content and issue write requests as the token's user. No public exploit is identified at time of analysis, and the CVSS UI:P indicates a page-load-level interaction rather than a complex lure. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Jul 17, 2026
Cross-origin data exposure in the Grav API plugin (getgrav/grav-plugin-api) before 1.0.0-rc.16 stems from a hardcoded 'Access-Control-Allow-Origin: *' header returned on every response, including authenticated endpoints and preflight (OPTIONS) responses. Because the plugin authenticates via the Authorization and X-API-Token request headers rather than cookies, any malicious website scripting a leaked access token can read the response bodies of authenticated endpoints and perform write actions as that token's user. Reported by VulnCheck with no public exploit identified at time of analysis; not listed in CISA KEV.
RemediationAI
Vendor-released patch: upgrade the Grav API plugin to 1.0.0-rc.16 or later, which removes the default wildcard CORS policy; this is the primary and recommended fix, per advisory GHSA-93px-98wh-6fj2. If immediate upgrade is not possible, place the API behind a reverse proxy (nginx/Apache) that strips or overrides the plugin's 'Access-Control-Allow-Origin: *' header and reflects only an explicit allowlist of trusted origins, with the trade-off that legitimate cross-origin browser clients must then be enumerated and whitelisted. Additionally restrict network access to the API endpoints to trusted hosts or VPN, and rotate any access tokens that may have been exposed while tightening token handling to reduce leakage via logs and Referer headers, accepting that these controls reduce but do not eliminate exposure until the plugin is patched.
Affected VersionsENISA
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 1 package in euvd
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
Grav is a flat-file, database-free PHP CMS, and the API plugin exposes REST-style endpoints for programmatic content and administrative operations. The root cause is CWE-942 (Permissive Cross-domain Policy with Untrusted Domains): the plugin statically emits a wildcard CORS policy instead of validating against an allowlist of trusted origins. Normally a wildcard ACAO blocks cookie-based credentialed requests, but this plugin carries credentials in the custom Authorization and X-API-Token headers that JavaScript sets explicitly, so the wildcard policy directly permits arbitrary origins to both send those headers and read the returned responses. The affected CPE is cpe:2.3:a:getgrav:grav (the API plugin component) across all versions prior to the fix.
Know when Grav gets its next vulnerability
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
Severity by source
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
Requires a separately leaked valid token (AC:H) and a browser loading attacker script (UI:R); wildcard CORS yields high-confidentiality read and limited write (I:L), no availability impact.
Primary rating from Vendor (VulnCheck).
CVSS VectorVendor: VulnCheck
Lifecycle Timeline
2DescriptionCVE.org
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.
Executive ViewAI
The Grav API plugin contains a high-severity cross-origin vulnerability (CVE-2026-62387, CVSS 7.1) that allows attackers with a valid API token to bypass browser-based access controls and read or modify API responses from any website. Organizations using Grav's API plugin expose authenticated endpoints to token-based cross-site attacks, risking unauthorized data access and malicious modifications to their APIs.
Disable the Grav API plugin entirely if API functionality is not required. If the plugin must remain active: implement a reverse proxy or WAF with strict Origin header validation to allow only trusted domains; restrict API tokens to minimal necessary permissions and implement short expiration windows; segregate API infrastructure from user-facing systems using network controls; enable audit logging for all API requests and monitor for anomalous cross-origin access patterns. No vendor-released patch identified at time of analysis.
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
Information disclosure occurs when an application unintentionally exposes sensitive data that aids attackers in reconnaissance or directly compromises security.
Related Vulnerabilities in Grav API Plugin Authorization and Credential Exposure
View all 4Server-side template injection (SSTI) in Grav (getgrav/grav) prior to 1.8.0-beta.27 allows an authenticated attacker hol
Broken access control in Grav CMS (CWE-285) before 1.8.0-beta.27 lets an authenticated editor-level user escalate their
A Remote Code Execution (RCE) vulnerability in Grav CMS v1.7.48 allows an authenticated admin to upload a malicious plug
Grav is a file-based Web platform. Rated critical severity (CVSS 9.9), this vulnerability is remotely exploitable, low a
GravCMS 1.10.7 allows unauthenticated remote attackers to write arbitrary YAML configuration files, leading to full serv
Remote code execution in Grav CMS 2.0.4 (fixed in 2.0.7) lets an authenticated user holding the admin.pages or api.pages
Remote code execution in Grav CMS before 2.0.15 allows attackers holding page-edit or blueprint-config privileges to wri
Vertical privilege escalation in Grav CMS before 2.0.14 lets a delegated administrator holding only the admin.users perm
Stored cross-site scripting in Grav CMS before 2.0.15 lets authenticated editors smuggle JavaScript event handlers past
Server-side request forgery (SSRF) in Grav CMS versions prior to 1.7.49.5 allows remote authenticated attackers to make
Grav is a file-based Web platform. Prior to 1.8.0-beta.27, Grav CMS is vulnerable to a Server-Side Template Injection (S
Remote code execution in Grav CMS before 2.0.13 allows authenticated low-privilege users to plant and execute arbitrary
EUVD-2026-45087
GHSA-h4x5-fmw9-97f9
NVD
CVE.org
EPSS
Vulnrichment
VulDB
Exploit-DB