Skip to main content

Grav CMS EUVDEUVD-2025-210894

| CVE-2025-64059 LOW
Cross-site Scripting (XSS) (CWE-79)
2026-09-13 mitre GHSA-2x7f-7273-jx2j
1.8
CVSS 3.1 · Vendor: mitre
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Obtain Grav admin credentials
  2. Delivery
    Log into admin panel via browser
  3. Exploit
    Inject JavaScript into Home Page editor
  4. Execution
    Victim user loads the home page
  5. Impact
    Malicious 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.

Monitor Track and reassess. Why: LOW severity (CVSS 0.1-3.9).
No patch listed yet 0.2% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – 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

grav 1.7.50.2

Affected Packages

euvd grav no fix

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

Vendor (mitre) PRIMARY 1.8 LOW
AV:L/AC:H/PR:H/UI:R/S:U/C:N/I:L/A:N
vuln.today AI 2.4 LOW

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.

3.1 AV:N/AC:L/PR:H/UI:R/S:U/C:N/I:L/A:N
4.0 AV:N/AC:L/AT:N/PR:H/UI:A/VC:N/VI:L/VA:N/SC:N/SI:N/SA:N

Primary rating from Vendor (mitre).

CVSS VectorVendor: mitre

Attack Vector
Local
Attack Complexity
High
Privileges Required
High
User Interaction
Required
Scope
Unchanged
Confidentiality
None
Integrity
Low
Availability
None

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

EPSS Score
0.2%
Top 86% exploitable
Prevalence
Medium
popular flat-file PHP CMS, moderate production footprint
Data Quality
5 sources
Confidence: Medium

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.

SignalValue
Severity LOW
CISA KEV No
Public POC No
EPSS 0.2%
Patch available No
Active threat No
Deciding rule
LOW severity (CVSS 0.1-3.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Defer
Exploitation
Poc
System Exposure· derived
Small
Automatable
No
Human Impact· derived
Low
Technical Impact
Partial

Priority Score

9
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +9
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Cross-Site Scripting occurs when an application accepts untrusted data and sends it to a web browser without proper validation or encoding.

More in Grav

View all
CVE-2025-66294 HIGH POC
8.7 Dec 01

Server-side template injection (SSTI) in Grav (getgrav/grav) prior to 1.8.0-beta.27 allows an authenticated attacker hol

CVE-2025-66301 HIGH POC
8.6 Dec 01

Broken access control in Grav CMS (CWE-285) before 1.8.0-beta.27 lets an authenticated editor-level user escalate their

CVE-2025-50286 HIGH POC
8.1 Aug 06

A Remote Code Execution (RCE) vulnerability in Grav CMS v1.7.48 allows an authenticated admin to upload a malicious plug

CVE-2024-34082 CRITICAL POC
9.9 May 15

Grav is a file-based Web platform. Rated critical severity (CVSS 9.9), this vulnerability is remotely exploitable, low a

CVE-2021-47812 CRITICAL POC
9.8 Jan 16

GravCMS 1.10.7 allows unauthenticated remote attackers to write arbitrary YAML configuration files, leading to full serv

CVE-2026-65008 CRITICAL POC
9.3 Jul 21

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

CVE-2026-75827 CRITICAL POC
9.3 Aug 18

Remote code execution in Grav CMS before 2.0.15 allows attackers holding page-edit or blueprint-config privileges to wri

CVE-2026-75837 CRITICAL POC
9.3 Aug 18

Vertical privilege escalation in Grav CMS before 2.0.14 lets a delegated administrator holding only the admin.users perm

CVE-2026-75828 CRITICAL POC
9.3 Aug 18

Stored cross-site scripting in Grav CMS before 2.0.15 lets authenticated editors smuggle JavaScript event handlers past

CVE-2025-66844 CRITICAL POC
9.1 Dec 15

Server-side request forgery (SSRF) in Grav CMS versions prior to 1.7.49.5 allows remote authenticated attackers to make

CVE-2025-66299 HIGH POC
8.8 Dec 01

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

CVE-2026-72819 HIGH POC
8.7 Aug 14

Remote code execution in Grav CMS before 2.0.13 allows authenticated low-privilege users to plant and execute arbitrary

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy