CVE-2025-66312: CWE-79: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') in getgrav grav
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 Analysis
Technical Summary
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.
Affected Countries
Germany, United Kingdom, France, Netherlands, Italy, Spain
CVE-2025-66312: CWE-79: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') in getgrav 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
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.
Affected Countries
For access to advanced analysis and higher rate limits, contact root@offseq.com
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 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Related Threats
[Guest Diary] Hunting for SharePoint In-Memory ToolShell Payloads, (Tue, Dec 2nd)
MediumCVE-2025-66415: CWE-441: Unintended Proxy or Intermediary ('Confused Deputy') in fastify fastify-reply-from
MediumCVE-2025-66448: CWE-94: Improper Control of Generation of Code ('Code Injection') in vllm-project vllm
HighCVE-2025-66401: CWE-78: Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection') in kapilduraphe mcp-watch
CriticalCVE-2025-66311: CWE-79: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') in getgrav grav
MediumActions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
Need enhanced features?
Contact root@offseq.com for Pro access with improved analysis and higher rate limits.