Skip to main content
Press slash or control plus K to focus the search. Use the arrow keys to navigate results and press enter to open a threat.
Reconnecting to live updates…

CVE-2025-66312: CWE-79: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') in getgrav grav

0
Medium
VulnerabilityCVE-2025-66312cvecve-2025-66312cwe-79
Published: Mon Dec 01 2025 (12/01/2025, 22:06:27 UTC)
Source: CVE Database V5
Vendor/Project: getgrav
Product: grav

Description

This admin plugin for Grav is an HTML user interface that provides a convenient way to configure Grav and easily create and modify pages. Prior to 1.11.0-beta.1, a Stored Cross-Site Scripting (XSS) vulnerability was identified in the /admin/accounts/groups/Grupo endpoint of the Grav application. This vulnerability allows attackers to inject malicious scripts into the data[readableName] parameter. The injected scripts are stored on the server and executed automatically whenever the affected page is accessed by users, posing a significant security risk. This vulnerability is fixed in 1.11.0-beta.1.

AI-Powered Analysis

AILast updated: 12/01/2025, 22:54:01 UTC

Technical Analysis

CVE-2025-66312 identifies a stored Cross-Site Scripting (XSS) vulnerability in the Grav CMS admin plugin, specifically affecting versions prior to 1.11.0-beta.1. The vulnerability exists in the /admin/accounts/groups/Grupo endpoint, where the data[readableName] parameter does not properly neutralize user input during web page generation, classified under CWE-79. An attacker with authenticated access can inject malicious JavaScript code into this parameter, which is then stored persistently on the server. Whenever a user accesses the affected page, the malicious script executes in their browser context, potentially leading to session hijacking, credential theft, or unauthorized actions within the CMS. The CVSS 4.0 vector indicates network attack vector (AV:N), low attack complexity (AC:L), no privileges required (PR:H indicates high privileges required, but the vector states PR:H, meaning privileges are required), user interaction is required (UI:A), and low impact on confidentiality and integrity but no impact on availability. The vulnerability is mitigated in version 1.11.0-beta.1 of Grav. No public exploits have been reported yet, but the stored nature of the XSS increases the risk of widespread impact once exploited. This vulnerability is particularly critical in administrative interfaces where elevated privileges can amplify the damage caused by XSS attacks.

Potential Impact

For European organizations using Grav CMS versions prior to 1.11.0-beta.1, this vulnerability poses a significant risk to the confidentiality and integrity of administrative sessions and data. Attackers who gain authenticated access can inject persistent malicious scripts, potentially leading to session hijacking, unauthorized content modification, or deployment of further attacks such as phishing or malware distribution within the CMS environment. This can result in reputational damage, data breaches, and operational disruptions. Since Grav is used by various organizations for website and content management, including government, educational, and private sectors, exploitation could compromise sensitive information or disrupt public-facing services. The requirement for authenticated access limits the attack surface but does not eliminate risk, especially in environments with weak credential management or insider threats. The medium CVSS score reflects moderate severity but the stored nature and administrative context elevate the potential impact.

Mitigation Recommendations

1. Upgrade all Grav CMS installations to version 1.11.0-beta.1 or later immediately to apply the official fix. 2. Implement strict input validation and sanitization on all user-supplied data, especially in administrative interfaces, to prevent injection of malicious scripts. 3. Deploy Content Security Policy (CSP) headers to restrict execution of unauthorized scripts in browsers. 4. Enforce strong authentication mechanisms, including multi-factor authentication (MFA), to reduce risk of unauthorized access. 5. Regularly audit and monitor administrative accounts and logs for suspicious activities indicative of exploitation attempts. 6. Educate administrators and developers about secure coding practices and the risks of XSS vulnerabilities. 7. Consider isolating administrative interfaces behind VPNs or IP whitelisting to limit exposure. 8. Conduct penetration testing focused on XSS and input validation in Grav environments to identify residual risks.

Need more detailed analysis?Get Pro

Technical Details

Data Version
5.2
Assigner Short Name
GitHub_M
Date Reserved
2025-11-26T23:11:46.396Z
Cvss Version
4.0
State
PUBLISHED

Threat ID: 692e19186dbd3477d74d63e4

Added to database: 12/1/2025, 10:39:20 PM

Last enriched: 12/1/2025, 10:54:01 PM

Last updated: 12/1/2025, 11:45:58 PM

Views: 4

Community Reviews

0 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

Need enhanced features?

Contact root@offseq.com for Pro access with improved analysis and higher rate limits.

Latest Threats