CVE-2025-66309: 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 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 Analysis
Technical Summary
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.
Affected Countries
Germany, United Kingdom, France, Netherlands, Sweden, Italy, Spain, Poland
CVE-2025-66309: 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 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
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.
Affected Countries
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 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
CVE-2026-0858: Stored XSS in net.sourceforge.plantuml:plantuml
MediumCVE-2026-1000: CWE-862 Missing Authorization in mailerlite MailerLite – WooCommerce integration
MediumCVE-2025-15527: CWE-200 Exposure of Sensitive Information to an Unauthorized Actor in brechtvds WP Recipe Maker
MediumCVE-2025-15526: CWE-209 Generation of Error Message Containing Sensitive Information in radykal Fancy Product Designer
MediumCVE-2025-15370: CWE-639 Authorization Bypass Through User-Controlled Key in paultgoodchild Shield: Blocks Bots, Protects Users, and Prevents Security Breaches
MediumActions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
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.