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

0
Medium
VulnerabilityCVE-2025-66309cvecve-2025-66309cwe-79
Published: Mon Dec 01 2025 (12/01/2025, 22:02:50 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 Reflected Cross-Site Scripting (XSS) vulnerability was identified in the /admin/pages/[page] endpoint of the Grav application. This vulnerability allows attackers to inject malicious scripts into the data[header][content][items] parameter. This vulnerability is fixed in 1.11.0-beta.1.

AI-Powered Analysis

AILast updated: 12/08/2025, 23:13:14 UTC

Technical Analysis

CVE-2025-66309 is a reflected 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 management, and its admin plugin provides a web-based interface for content creation and configuration. The vulnerability resides in the /admin/pages/[page] endpoint, where the application fails to properly sanitize or neutralize user-supplied input in the data[header][content][items] parameter. This improper input handling allows an attacker to inject malicious JavaScript code that is reflected back in the HTTP response, leading to script execution in the context of the admin user's browser. The CVSS 4.0 vector indicates network attack vector (AV:N), low attack complexity (AC:L), no privileges required (PR:H), user interaction required (UI:A), and low impact on confidentiality, integrity, and availability. The vulnerability is classified under CWE-79, which pertains to improper neutralization of input during web page generation. Although exploitation requires user interaction and some level of privileges, the reflected nature of the XSS can be leveraged in phishing or social engineering attacks to compromise administrative sessions or steal sensitive information. The flaw was addressed and fixed in Grav admin plugin version 1.11.0-beta.1. No public exploits or widespread attacks have been reported to date, but the vulnerability poses a risk to organizations relying on Grav CMS for website management, especially those with exposed admin interfaces.

Potential Impact

For European organizations, this vulnerability could lead to unauthorized script execution within the administrative interface of Grav CMS, potentially resulting in session hijacking, credential theft, or unauthorized configuration changes. Given that Grav is used by various small to medium enterprises and web developers across Europe, exploitation could disrupt website management and compromise sensitive content. The reflected XSS could be used as a vector for targeted phishing campaigns against administrators, increasing the risk of broader compromise. While the impact on core infrastructure is limited, the confidentiality and integrity of website content and administrative credentials are at risk. Organizations with public-facing Grav admin panels are particularly vulnerable. The medium severity rating reflects the moderate risk, but the ease of exploitation combined with the potential for privilege escalation or lateral movement in a compromised environment elevates the threat. Additionally, the vulnerability could be leveraged as a foothold for further attacks within an organization's network if administrative credentials are stolen.

Mitigation Recommendations

European organizations using Grav CMS should immediately upgrade the admin plugin to version 1.11.0-beta.1 or later to remediate the vulnerability. In addition to patching, organizations should implement strict input validation and output encoding on all user-supplied data within the admin interface to prevent XSS. Employ Content Security Policy (CSP) headers to restrict the execution of unauthorized scripts in the admin interface. Limit access to the Grav admin panel by IP whitelisting or VPN to reduce exposure to external attackers. Enable multi-factor authentication (MFA) for administrative accounts to mitigate the risk of credential theft. Regularly audit and monitor web server logs for suspicious requests targeting the /admin/pages/[page] endpoint. Conduct security awareness training for administrators to recognize and avoid phishing attempts that could exploit this vulnerability. Finally, consider deploying web application firewalls (WAFs) with rules to detect and block reflected XSS payloads targeting Grav CMS endpoints.

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

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

Last enriched: 12/8/2025, 11:13:14 PM

Last updated: 1/16/2026, 5:14:25 AM

Views: 64

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