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-66308: CWE-79: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') in getgrav grav

0
Medium
VulnerabilityCVE-2025-66308cvecve-2025-66308cwe-79
Published: Mon Dec 01 2025 (12/01/2025, 22:00:42 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/config/site endpoint of the Grav application. This vulnerability allows attackers to inject malicious scripts into the data[taxonomies] parameter. The injected payload is stored on the server and automatically executed in the browser of any user who accesses the affected site configuration, resulting in a persistent attack vector. This vulnerability is fixed in 1.11.0-beta.1.

AI-Powered Analysis

AILast updated: 12/01/2025, 22:09:34 UTC

Technical Analysis

CVE-2025-66308 is a stored Cross-Site Scripting (XSS) vulnerability identified in the Grav CMS admin plugin, specifically affecting versions prior to 1.11.0-beta.1. Grav is a flat-file content management system widely used for website creation and management. The vulnerability resides in the /admin/config/site endpoint, where the data[taxonomies] parameter fails to properly neutralize user input during web page generation, classified under CWE-79. An attacker with authenticated access and high privileges can inject malicious JavaScript code into this parameter. Because the payload is stored on the server, it executes persistently in the browsers of any users who access the affected site configuration interface, potentially allowing session hijacking, privilege escalation, or unauthorized actions within the admin panel. The CVSS 4.0 vector indicates network attack vector (AV:N), low attack complexity (AC:L), partial authentication required (AT:P), high privileges (PR:H), user interaction needed (UI:A), and high impact on confidentiality and integrity (VC:H, VI:N, VA:N). No known public exploits exist yet, but the vulnerability is significant due to the persistent nature of the XSS and the administrative context. The issue was resolved in Grav version 1.11.0-beta.1 by properly sanitizing the input to prevent script injection.

Potential Impact

For European organizations using Grav CMS versions prior to 1.11.0-beta.1, this vulnerability poses a risk of persistent XSS attacks within the administrative interface. Successful exploitation could lead to session hijacking of admin users, unauthorized changes to site configuration, and potential deployment of further malicious payloads. This undermines the confidentiality and integrity of the website management environment. Given Grav’s use in various sectors including government, education, and small to medium enterprises across Europe, exploitation could disrupt critical web services or lead to data breaches. The requirement for authenticated high-privilege users limits the attack surface but insider threats or compromised credentials could facilitate exploitation. The persistent nature of the XSS increases the risk of ongoing compromise until patched. Additionally, attackers could leverage this vulnerability to pivot to other internal systems or escalate privileges further.

Mitigation Recommendations

European organizations should immediately upgrade Grav CMS to version 1.11.0-beta.1 or later to remediate this vulnerability. Until patching is possible, restrict administrative access to trusted users and enforce strong authentication mechanisms such as multi-factor authentication to reduce the risk of credential compromise. Implement Content Security Policy (CSP) headers to limit the execution of unauthorized scripts in the admin interface. Regularly audit and monitor admin panel activity for unusual behavior indicative of exploitation attempts. Sanitize and validate all user inputs in custom plugins or extensions to prevent similar injection flaws. Consider isolating the admin interface behind VPN or IP allowlists to minimize exposure. Finally, educate administrators about phishing and social engineering risks that could lead to credential theft enabling exploitation.

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: 692e11fe6dbd3477d7432f18

Added to database: 12/1/2025, 10:09:02 PM

Last enriched: 12/1/2025, 10:09:34 PM

Last updated: 12/1/2025, 11:13:25 PM

Views: 3

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