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/08/2025, 22:14:26 UTC

Technical Analysis

CVE-2025-66308 is a stored Cross-Site Scripting (XSS) vulnerability identified in the Grav CMS admin plugin, specifically in versions prior to 1.11.0-beta.1. The vulnerability exists in the /admin/config/site endpoint, where the data[taxonomies] parameter is improperly sanitized, allowing attackers to inject malicious JavaScript payloads. These payloads are stored persistently on the server and executed automatically in the browsers of users who access the affected site configuration page, resulting in a persistent XSS attack vector. This flaw stems from CWE-79, indicating improper neutralization of input during web page generation. Exploitation requires an attacker to have high-level privileges (authenticated with high privileges) and some user interaction, such as an administrator visiting the compromised configuration page. The vulnerability impacts the confidentiality and integrity of the affected system by enabling script execution in trusted contexts, potentially leading to session hijacking, credential theft, or unauthorized actions on behalf of the user. The CVSS 4.0 score of 6.8 reflects a medium severity, with network attack vector, low attack complexity, partial authentication required, and user interaction needed. No public exploits have been reported yet, but the risk remains significant for organizations using vulnerable Grav versions. The issue was addressed and fixed in Grav version 1.11.0-beta.1.

Potential Impact

For European organizations using Grav CMS, this vulnerability poses a risk of persistent XSS attacks that can compromise administrative accounts and site integrity. Successful exploitation could lead to session hijacking, unauthorized configuration changes, or distribution of malicious content to site administrators. This can result in data breaches, defacement, or further compromise of internal systems. Since Grav is often used by small to medium enterprises and public sector websites for content management, the impact includes potential disruption of services and reputational damage. The requirement for high privilege authentication limits exposure to insider threats or attackers who have already gained partial access, but the persistent nature of the attack increases the risk of lateral movement and prolonged compromise. Organizations with public-facing Grav admin interfaces are particularly vulnerable if access controls are weak or if administrators access the interface from insecure environments.

Mitigation Recommendations

European organizations should promptly update Grav CMS to version 1.11.0-beta.1 or later to remediate this vulnerability. Additionally, implement strict access controls to limit administrative interface exposure, such as IP whitelisting, VPN access, or multi-factor authentication for admin users. Regularly audit and sanitize all user inputs, especially in configuration endpoints, to prevent injection of malicious scripts. Employ Content Security Policy (CSP) headers to restrict the execution of unauthorized scripts in browsers. Monitor logs for unusual activity around the /admin/config/site endpoint and review stored taxonomy data for suspicious content. Educate administrators on the risks of clicking unknown links or opening untrusted pages within the admin interface. Finally, conduct periodic security assessments and penetration tests focusing on web application vulnerabilities to detect similar issues proactively.

Need more detailed analysis?Upgrade to Pro Console

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/8/2025, 10:14:26 PM

Last updated: 2/3/2026, 8:04:38 AM

Views: 77

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 more coverage?

Upgrade to Pro Console in Console -> Billing for AI refresh and higher limits.

For incident response and remediation, OffSeq services can help resolve threats faster.

Latest Threats