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
Lifecycle Timeline
1DescriptionCVE.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.
AnalysisAI
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.
Technical ContextAI
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.
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.
Grav is a file-based Web platform. Prior to 1.8.0-beta.27, a Server-Side Template Injection (SSTI) vulnerability exists
Grav is a file-based Web platform. Prior to 1.8.0-beta.27, due to improper authorization checks when modifying critical
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
Grav is a file-based Web platform. Prior to 1.8.0-beta.27, a user with admin panel access and permissions to create or e
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
Grav is an open-source, flat-file content management system. Rated high severity (CVSS 8.8), this vulnerability is remot
Grav is an open-source, flat-file content management system. Rated high severity (CVSS 8.8), this vulnerability is remot
Grav is an open-source, flat-file content management system. Rated high severity (CVSS 8.8), this vulnerability is remot
Grav is an open-source, flat-file content management system. Rated high severity (CVSS 8.8), this vulnerability is remot
Grav is an open-source, flat-file content management system. Rated high severity (CVSS 8.8), this vulnerability is remot
Same weakness CWE-79 – Cross-site Scripting (XSS)
View allShare
External POC / Exploit Code
Leaving vuln.today
EUVD-2025-210894
GHSA-2x7f-7273-jx2j