Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessObtain Grav admin credentials
-
DeliveryLog into admin panel via browser
-
ExploitInject JavaScript into Home Page editor
-
ExecutionVictim user loads the home page
-
ImpactMalicious script executes in victim browser
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A05:2025 - Injection
ASVS 5.0
V1 - Encoding and Sanitization Output encoding, context-aware escaping
MITRE ATT&CK
2 techniques across 2 tactics: Initial Access, Execution The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up. |
| Exploitation Conditions | Exploitation requires a fully authenticated Grav administrator account (PR:H per CVSS). The attacker must access the admin panel's Home Page editor, and a victim user must subsequently browse to the affected page (UI:R). Attack scope is local (AV:L per NVD CVSS), not directly network-exploitable by an external unauthenticated party. The most significant limiting factor is the architectural dispute: Grav's admin role already permits template modification, plugin installation, and arbitrary file upload - all of which provide equivalent or greater code execution capability than JavaScript injection via the content editor. This finding has incremental security relevance only in co-admin or multi-tenant deployments where a trust boundary between administrator accounts is explicitly defined and enforced. |
| Impact | The NVD CVSS vector AV:L/AC:H/PR:H/UI:R/S:U/C:N/I:L/A:N and score of 1.8 is the lowest possible meaningful score and accurately reflects the marginal risk. Exploitation requires a pre-authenticated Grav administrator, High Attack Complexity, local scope, and a victim to interact with the affected page - stacking four independent limiting factors simultaneously. The dispute embedded in the official NVD description is the most operationally significant signal: this is a security-researcher-reported 'admin-to-XSS' finding in a product where admins can already execute code via other built-in mechanisms. No EPSS score was provided in the input data, there is no CISA KEV entry, and no confirmed POC exploit exists in the intelligence provided. This issue does not warrant emergency response for any reasonably configured environment; it is relevant only in multi-tenant or co-admin scenarios where trust boundaries between administrator accounts are a stated security requirement. |
| Exploit ScenarioDerived | An attacker who has already obtained a valid Grav administrator account edits the Home Page content block via the admin panel, inserting a JavaScript payload such as a cookie-stealing script. When a second authenticated user - for example, another administrator - loads the home page in their browser, the injected script executes and exfiltrates their session token. The attack is operationally equivalent to other code execution paths the admin role already provides, offering no net new capability. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Sep 13, 2026
Stored JavaScript injection through the Home Page editor in Grav 1.7.50.2 permits an authenticated administrator to embed script content that executes in a victim's browser when the page is viewed. However, NVD's own description includes a formal dispute: Grav's administrator role already grants unfettered access to modify templates, install plugins, and upload arbitrary executable content, meaning this JavaScript injection path adds no incremental attack capability beyond what the role inherently permits. NVD assigned a base score of 1.8 (AV:L/AC:H/PR:H/UI:R), and no active exploitation or public exploit code has been identified at time of analysis.
RemediationAI
No vendor-released patch has been identified at time of analysis - no official Grav security advisory or fix commit is present in the provided references. Given that the vulnerability requires administrator-level credentials, the primary control is strict access governance: restrict the Grav admin role exclusively to fully trusted personnel, enforce multi-factor authentication on all admin accounts, and audit existing admin account holders. For organizations operating multi-tenant or co-admin deployments where trust isolation between admins is a requirement, deploying a Content Security Policy (CSP) header that disallows inline scripts (default-src 'self'; script-src 'self') provides a compensating control, though this may interfere with legitimate Grav admin functionality and requires testing. The disputed nature of this finding suggests a vendor patch may not be forthcoming.
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 PHP CMS (CPE: cpe:2.3:a:getgrav:grav:*:*:*:*:*:*:*:*) that stores pages in YAML/Markdown files rather than a database, with an admin panel that exposes a Home Page content editor accepting raw HTML. The root cause class is CWE-79 (Improper Neutralization of Input During Web Page Generation), meaning user-supplied script content entered via the editor is stored without sanitization and later rendered into page output. The architectural context is critical: Grav's admin role is a fully trusted, privileged role with native access to PHP template files, plugin management, and arbitrary file upload - all of which already permit arbitrary code execution, making script injection through the Home Page editor a redundant path with no meaningful privilege escalation.
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
AV:L/AC:H/PR:H/UI:R/S:U/C:N/I:L/A:N
Admin panel is a network-accessible web interface (AV:N); requires admin credentials (PR:H) and victim page visit (UI:R); only minimal integrity impact applies.
Primary rating from Vendor (mitre).
CVSS VectorVendor: mitre
DescriptionCVE.org
Grav 1.7.50.2 allows admins to enter JavaScript via the Home Page editor. NOTE: the relevance of this for stored XSS is disputed because admins are allowed to modify templates, install plugins, and upload other executable content.
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
Cross-Site Scripting occurs when an application accepts untrusted data and sends it to a web browser without proper validation or encoding.
Server-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-2025-210894
GHSA-2x7f-7273-jx2j
NVD
CVE.org
EPSS
Vulnrichment
Exploit-DB