The SentinelOne Annual Threat Report - A Defenders Guide from the FrontlinesThe SentinelOne Annual Threat ReportGet the Report
Experiencing a Breach?Blog
Get StartedContact Us
SentinelOne
  • Platform
    Platform Overview
    • Singularity Platform
      Welcome to Integrated Enterprise Security
    • AI for Security
      Leading the Way in AI-Powered Security Solutions
    • Securing AI
      Accelerate AI Adoption with Secure AI Tools, Apps, and Agents.
    • How It Works
      The Singularity XDR Difference
    • Singularity Marketplace
      One-Click Integrations to Unlock the Power of XDR
    • Pricing & Packaging
      Comparisons and Guidance at a Glance
    Data & AI
    • Purple AI
      Accelerate SecOps with Generative AI
    • Singularity Hyperautomation
      Easily Automate Security Processes
    • AI-SIEM
      The AI SIEM for the Autonomous SOC
    • Singularity Data Lake
      AI-Powered, Unified Data Lake
    • Singularity Data Lake for Log Analytics
      Seamlessly Ingest Data from On-Prem, Cloud or Hybrid Environments
    Endpoint Security
    • Singularity Endpoint
      Autonomous Prevention, Detection, and Response
    • Singularity XDR
      Native & Open Protection, Detection, and Response
    • Singularity RemoteOps Forensics
      Orchestrate Forensics at Scale
    • Singularity Threat Intelligence
      Comprehensive Adversary Intelligence
    • Singularity Vulnerability Management
      Application & OS Vulnerability Management
    • Singularity Identity
      Identity Threat Detection and Response
    Cloud Security
    • Singularity Cloud Security
      Block Attacks with an AI-Powered CNAPP
    • Singularity Cloud Native Security
      Secure Cloud and Development Resources
    • Singularity Cloud Workload Security
      Real-Time Cloud Workload Protection Platform
    • Singularity Cloud Data Security
      AI-Powered Threat Detection for Cloud Storage
    • Singularity Cloud Security Posture Management
      Detect and Remediate Cloud Misconfigurations
    Securing AI
    • Prompt Security
      Secure AI Tools Across Your Enterprise
  • Why SentinelOne?
    Why SentinelOne?
    • Why SentinelOne?
      Cybersecurity Built for What’s Next
    • Our Customers
      Trusted by the World’s Leading Enterprises
    • Industry Recognition
      Tested and Proven by the Experts
    • About Us
      The Industry Leader in Autonomous Cybersecurity
    Compare SentinelOne
    • Arctic Wolf
    • Broadcom
    • CrowdStrike
    • Cybereason
    • Microsoft
    • Palo Alto Networks
    • Sophos
    • Splunk
    • Trellix
    • Trend Micro
    • Wiz
    Verticals
    • Energy
    • Federal Government
    • Finance
    • Healthcare
    • Higher Education
    • K-12 Education
    • Manufacturing
    • Retail
    • State and Local Government
  • Services
    Managed Services
    • Managed Services Overview
      Wayfinder Threat Detection & Response
    • Threat Hunting
      World-Class Expertise and Threat Intelligence
    • Managed Detection & Response
      24/7/365 Expert MDR Across Your Entire Environment
    • Incident Readiness & Response
      DFIR, Breach Readiness, & Compromise Assessments
    Support, Deployment, & Health
    • Technical Account Management
      Customer Success with Personalized Service
    • SentinelOne GO
      Guided Onboarding & Deployment Advisory
    • SentinelOne University
      Live and On-Demand Training
    • Services Overview
      Comprehensive Solutions for Seamless Security Operations
    • SentinelOne Community
      Community Login
  • Partners
    Our Network
    • MSSP Partners
      Succeed Faster with SentinelOne
    • Singularity Marketplace
      Extend the Power of S1 Technology
    • Cyber Risk Partners
      Enlist Pro Response and Advisory Teams
    • Technology Alliances
      Integrated, Enterprise-Scale Solutions
    • SentinelOne for AWS
      Hosted in AWS Regions Around the World
    • Channel Partners
      Deliver the Right Solutions, Together
    • SentinelOne for Google Cloud
      Unified, Autonomous Security Giving Defenders the Advantage at Global Scale
    • Partner Locator
      Your Go-to Source for Our Top Partners in Your Region
    Partner Portal→
  • Resources
    Resource Center
    • Case Studies
    • Data Sheets
    • eBooks
    • Reports
    • Videos
    • Webinars
    • Whitepapers
    • Events
    View All Resources→
    Blog
    • Feature Spotlight
    • For CISO/CIO
    • From the Front Lines
    • Identity
    • Cloud
    • macOS
    • SentinelOne Blog
    Blog→
    Tech Resources
    • SentinelLABS
    • Ransomware Anthology
    • Cybersecurity 101
  • About
    About SentinelOne
    • About SentinelOne
      The Industry Leader in Cybersecurity
    • Investor Relations
      Financial Information & Events
    • SentinelLABS
      Threat Research for the Modern Threat Hunter
    • Careers
      The Latest Job Opportunities
    • Press & News
      Company Announcements
    • Cybersecurity Blog
      The Latest Cybersecurity Threats, News, & More
    • FAQ
      Get Answers to Our Most Frequently Asked Questions
    • DataSet
      The Live Data Platform
    • S Foundation
      Securing a Safer Future for All
    • S Ventures
      Investing in the Next Generation of Security, Data and AI
  • Pricing
Get StartedContact Us
CVE Vulnerability Database
Vulnerability Database/CVE-2025-66308

CVE-2025-66308: Grav-plugin-admin Stored XSS Vulnerability

CVE-2025-66308 is a stored cross-site scripting flaw in Grav-plugin-admin that enables attackers to inject malicious scripts via the admin config endpoint. This article covers technical details, affected versions, and mitigation.

Updated: January 22, 2026

CVE-2025-66308 Overview

A Stored Cross-Site Scripting (XSS) vulnerability has been identified in the Grav Admin Plugin, an HTML user interface that provides a convenient way to configure Grav CMS and easily create and modify pages. This vulnerability exists in versions prior to 1.11.0-beta.1 and allows attackers to inject malicious scripts into the data[taxonomies] parameter through the /admin/config/site endpoint.

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. With a CVSS score of 6.8 (MEDIUM), this vulnerability poses significant risk to Grav CMS installations using the admin plugin, potentially allowing attackers to steal session cookies, perform actions on behalf of authenticated administrators, or deliver additional malicious payloads.

Critical Impact

Persistent XSS payloads stored in site configuration can execute in the context of any administrator accessing the affected page, potentially leading to session hijacking, credential theft, or administrative account compromise.

Affected Products

  • getgrav grav-plugin-admin (versions prior to 1.11.0-beta.1)

Discovery Timeline

  • December 1, 2025 - CVE-2025-66308 published to NVD
  • December 3, 2025 - Last updated in NVD database

Technical Details for CVE-2025-66308

Vulnerability Analysis

This vulnerability is classified as CWE-79 (Improper Neutralization of Input During Web Page Generation), commonly known as Cross-Site Scripting. The attack vector is network-based (AV:N) with low attack complexity (AC:L), though it requires high privileges (PR:H) and active user interaction (UI:A) to exploit successfully.

The CVSS 4.0 vector string is: CVSS:4.0/AV:N/AC:L/AT:P/PR:H/UI:A/VC:H/VI:N/VA:N/SC:H/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X

The Exploit Prediction Scoring System (EPSS) indicates a probability of 0.028% with a percentile of 7.159, suggesting relatively low likelihood of active exploitation in the wild at this time. However, stored XSS vulnerabilities in administrative interfaces are high-value targets for attackers.

Root Cause

The root cause of this vulnerability is improper input sanitization in the site configuration endpoint. The data[taxonomies] parameter accepts user-supplied input that is stored in the server-side configuration without adequate HTML encoding or sanitization. When this data is later rendered in the administrative interface, the stored malicious script executes in the context of the viewing user's browser session.

The vulnerability exists because the Selectize form fields used in the admin interface did not properly escape HTML content when rendering option and item elements, allowing stored payloads to execute when administrators access the configuration page.

Attack Vector

The attack requires an authenticated user with administrative privileges to inject malicious JavaScript into the taxonomies field via the /admin/config/site endpoint. Once stored, the payload executes automatically when any administrator accesses the site configuration page.

The security patch addresses this by implementing safe render functions that properly escape HTML content:

javascript
// Security: Default render functions that escape HTML to prevent XSS
// (GHSA-65mj-f7p4-wggq, GHSA-7g78-5g5g-mvfj, GHSA-mpjj-4688-3fxg)
const SafeRender = {
    option: function(item, escape) {
        return `<div>${escape(item.text || item.value)}</div>`;
    },
    item: function(item, escape) {
        return `<div>${escape(item.text || item.value)}</div>`;
    }
};

Source: https://github.com/getgrav/grav-plugin-admin/commit/99f653296504f1d6408510dd2f6f20a45a26f9b0

The patch introduces safe rendering functions that use the built-in escape() function to properly encode HTML entities before inserting user-controlled content into the DOM.

Detection Methods for CVE-2025-66308

Indicators of Compromise

  • Unusual JavaScript code present in taxonomy configuration values in /user/config/site.yaml
  • Suspicious <script> tags or event handlers (onclick, onerror, etc.) in stored configuration data
  • Unexpected network requests originating from the admin panel to external domains
  • Anomalous admin user session activity or unauthorized configuration changes

Detection Strategies

Organizations should implement the following detection strategies:

  1. Log Monitoring: Review web server access logs for POST requests to /admin/config/site containing suspicious payloads such as <script>, javascript:, or HTML event handlers in the data[taxonomies] parameter.

  2. Configuration File Auditing: Regularly audit the site.yaml configuration file for unexpected JavaScript code or HTML elements that could indicate stored XSS payloads.

  3. Content Security Policy Violations: Implement and monitor Content Security Policy (CSP) headers to detect and block inline script execution, which would trigger violation reports if XSS payloads attempt to execute.

  4. Behavioral Analysis: Monitor for unusual admin panel activity, including unexpected API calls or data exfiltration attempts that could indicate compromised administrator sessions.

Monitoring Recommendations

  • Enable verbose logging for the Grav admin plugin and monitor for suspicious POST requests
  • Implement file integrity monitoring on configuration files within the /user/config/ directory
  • Deploy a Web Application Firewall (WAF) with XSS detection rules targeting the admin endpoints
  • Configure browser-side CSP reporting to capture any attempted XSS execution
  • SentinelOne Singularity platform can provide real-time behavioral monitoring and threat detection for systems hosting Grav CMS installations

How to Mitigate CVE-2025-66308

Immediate Actions Required

  • Upgrade the Grav Admin Plugin to version 1.11.0-beta.1 or later immediately
  • Audit existing site configuration for any malicious scripts that may have been injected
  • Review admin user accounts for unauthorized access or suspicious activity
  • Implement Content Security Policy headers to mitigate the impact of any unpatched XSS vulnerabilities

Patch Information

The vulnerability has been fixed in Grav Admin Plugin version 1.11.0-beta.1. The patch is available in commit 99f653296504f1d6408510dd2f6f20a45a26f9b0.

Vendor Resources:

  • Security Advisory (GHSA-gqxx-248x-g29f)
  • Patch Commit

To update the Grav Admin Plugin:

bash
# Update via Grav Package Manager
bin/gpm update admin

# Or manually update via composer
composer update getgrav/grav-plugin-admin

# Verify the installed version
bin/gpm version admin

Workarounds

If immediate patching is not possible, consider the following temporary mitigations:

  1. Restrict Admin Access: Limit administrative access to trusted IP addresses only using web server configuration or network-level controls.

  2. Implement CSP Headers: Add strict Content Security Policy headers to prevent inline script execution:

bash
# Apache .htaccess configuration
Header set Content-Security-Policy "default-src 'self'; script-src 'self'; object-src 'none';"

# Nginx configuration
add_header Content-Security-Policy "default-src 'self'; script-src 'self'; object-src 'none';";
  1. Audit and Clean Configuration: Manually inspect the /user/config/site.yaml file for any suspicious content and remove unauthorized entries.

  2. Enable Multi-Factor Authentication: Ensure all administrative accounts have MFA enabled to reduce the risk of compromised credentials being used to inject payloads.

Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.

  • Vulnerability Details
  • TypeXSS

  • Vendor/TechGetgrav

  • SeverityMEDIUM

  • CVSS Score6.8

  • EPSS Probability0.03%

  • Known ExploitedNo
  • CVSS Vector
  • CVSS:4.0/AV:N/AC:L/AT:P/PR:H/UI:A/VC:H/VI:N/VA:N/SC:H/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
  • Impact Assessment
  • ConfidentialityLow
  • IntegrityNone
  • AvailabilityNone
  • CWE References
  • CWE-79
  • Vendor Resources
  • Patch

  • Exploit, Vendor Advisory

  • Exploit, Vendor Advisory
  • Related CVEs
  • CVE-2025-66311: Grav Admin Plugin Stored XSS Vulnerability

  • CVE-2025-66312: Grav Admin Plugin Stored XSS Vulnerability

  • CVE-2025-66294: Getgrav Grav RCE Vulnerability

  • CVE-2025-66295: Getgrav Grav Path Traversal Vulnerability
Experience the World’s Most Advanced Cybersecurity Platform

Experience the World’s Most Advanced Cybersecurity Platform

See how our intelligent, autonomous cybersecurity platform can protect your organization now and into the future.

Try SentinelOne
  • Get Started
  • Get a Demo
  • Product Tour
  • Why SentinelOne
  • Pricing & Packaging
  • FAQ
  • Contact
  • Contact Us
  • Customer Support
  • SentinelOne Status
  • Language
  • Platform
  • Singularity Platform
  • Singularity Endpoint
  • Singularity Cloud
  • Singularity AI-SIEM
  • Singularity Identity
  • Singularity Marketplace
  • Purple AI
  • Services
  • Wayfinder TDR
  • SentinelOne GO
  • Technical Account Management
  • Support Services
  • Verticals
  • Energy
  • Federal Government
  • Finance
  • Healthcare
  • Higher Education
  • K-12 Education
  • Manufacturing
  • Retail
  • State and Local Government
  • Cybersecurity for SMB
  • Resources
  • Blog
  • Labs
  • Case Studies
  • Videos
  • Product Tours
  • Events
  • Cybersecurity 101
  • eBooks
  • Webinars
  • Whitepapers
  • Press
  • News
  • Ransomware Anthology
  • Company
  • About Us
  • Our Customers
  • Careers
  • Partners
  • Legal & Compliance
  • Security & Compliance
  • Investor Relations
  • S Foundation
  • S Ventures

©2026 SentinelOne, All Rights Reserved.

Privacy Notice Terms of Use

English