A Leader in the 2026 Gartner® Magic Quadrant™ for Endpoint Protection. Six years running.Six years. Gartner® Magic Quadrant™ Leader.Find Out Why
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
    • AI Data Pipelines
      Security Data Pipeline for AI SIEM and Data Optimization
    • 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-2026-34246

CVE-2026-34246: CtrlPanel Stored XSS Vulnerability

CVE-2026-34246 is a stored cross-site scripting flaw in CtrlPanel's admin role management interface that allows attackers to inject malicious scripts. This post explains its impact, affected versions, and mitigation steps.

Published: May 21, 2026

CVE-2026-34246 Overview

CVE-2026-34246 is a Stored Cross-Site Scripting (XSS) vulnerability in CtrlPanel, open-source billing software used by hosting providers. The flaw resides in the admin role management interface and affects versions 1.1.1 and prior. An attacker with role creation or edit permissions can inject HTML or JavaScript payloads into role name or color fields. These payloads persist in the database and execute when any administrator loads the /admin/roles page. The issue is tracked under [CWE-80] and was resolved in CtrlPanel version 1.2.0.

Critical Impact

Stored payloads execute in every admin's browser session, enabling cookie theft, credential harvesting, lateral privilege escalation, and a persistent backdoor across the admin panel.

Affected Products

  • CtrlPanel versions 1.1.1 and prior
  • CtrlPanel admin role management interface (/admin/roles)
  • Fixed in CtrlPanel version 1.2.0

Discovery Timeline

  • 2026-05-19 - CVE-2026-34246 published to NVD
  • 2026-05-20 - Last updated in NVD database

Technical Details for CVE-2026-34246

Vulnerability Analysis

The vulnerability lives in app/Http/Controllers/Admin/RoleController.php. The datatable() method interpolates $role->name and $role->color directly into a <span> element's HTML body and inline style attribute. No sanitization or output encoding is applied before rendering. The chained .rawColumns(['actions', 'name']) call instructs the DataTables library to treat the name column as raw HTML. This explicitly bypasses the automatic output escaping that DataTables provides by default. Persisted role data becomes an execution vector for any admin who visits the role listing page.

Root Cause

The root cause is missing input sanitization combined with explicit output escaping bypass. CtrlPanel trusts admin-supplied role attributes and writes them unchanged to the database. The frontend then renders those attributes as raw HTML rather than text. This violates the principle of contextual output encoding for user-controlled data, even when the source is a privileged user.

Attack Vector

An admin with permission to create or edit roles submits a payload such as <img src=x onerror="alert('XSS_POC')"> into the role name or color field. The payload is stored in the roles table. Each time another administrator loads /admin/roles, the DataTables component renders the malicious markup and the browser executes the JavaScript. Attackers can use this to steal session cookies, display fake login prompts, install in-page keyloggers, or perform privileged actions on behalf of the victim admin. The injected record acts as a persistent backdoor until the malicious role is deleted.

No verified public exploit code is available. See the GitHub Security Advisory GHSA-wpqj-xwhq-2mmh for additional technical context.

Detection Methods for CVE-2026-34246

Indicators of Compromise

  • Role records in the database containing HTML tags such as <img>, <script>, <svg>, or inline event handlers like onerror=, onload=, or onclick= in the name or color columns.
  • Outbound HTTP requests from admin browsers to unknown domains shortly after loading /admin/roles.
  • Unexpected admin actions, role changes, or privilege grants performed from legitimate admin accounts without corresponding user activity.

Detection Strategies

  • Query the roles table for any non-alphanumeric characters in the name field and any value in color that is not a valid hex code or CSS color keyword.
  • Review web server access logs for POST and PUT requests to /admin/roles endpoints submitting suspicious payload signatures.
  • Inspect rendered HTML returned by /admin/roles for tags or attributes outside the expected <span> styling template.

Monitoring Recommendations

  • Enable application-level audit logging for role create, update, and delete operations including the submitted field values.
  • Deploy a Content Security Policy (CSP) in report-only mode on admin pages to surface inline script execution attempts.
  • Monitor admin session activity for anomalous geolocation, user agent, or API call patterns indicative of session hijacking.

How to Mitigate CVE-2026-34246

Immediate Actions Required

  • Upgrade CtrlPanel to version 1.2.0 or later, available at the CtrlPanel 1.2.0 GitHub Release.
  • Audit the roles table and remove or sanitize any records containing HTML markup in name or color fields.
  • Rotate all admin session cookies and credentials if injected payloads are found, since session theft cannot be ruled out.

Patch Information

The maintainers resolved this issue in CtrlPanel version 1.2.0. Details are published in the GitHub Security Advisory GHSA-wpqj-xwhq-2mmh and the 1.2.0 release notes. Administrators running 1.1.1 or earlier should treat this upgrade as the primary remediation.

Workarounds

  • Restrict role creation and edit permissions to a minimal set of trusted administrators until the upgrade is applied.
  • Apply a strict Content Security Policy that disallows inline event handlers and inline scripts on /admin/* routes.
  • Enforce server-side input validation on role name (alphanumeric and spaces only) and color (hex value pattern) at the reverse proxy or WAF layer.
bash
# Example WAF rule pattern to block HTML injection in role fields
# ModSecurity-style pseudo-rule
SecRule ARGS:name|ARGS:color "@rx <[a-zA-Z/!]|on[a-z]+\s*=" \
    "id:1002601,phase:2,deny,status:403,msg:'CVE-2026-34246 HTML injection blocked in role field'"

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

  • Vulnerability Details
  • TypeXSS

  • Vendor/TechCtrlpanel

  • SeverityMEDIUM

  • CVSS Score4.8

  • EPSS Probability0.02%

  • Known ExploitedNo
  • CVSS Vector
  • CVSS:3.1/AV:N/AC:L/PR:H/UI:R/S:C/C:L/I:L/A:N
  • Impact Assessment
  • ConfidentialityLow
  • IntegrityLow
  • AvailabilityNone
  • CWE References
  • CWE-80
  • Technical References
  • GitHub Release 1.2.0

  • GitHub Security Advisory GHSA-wpqj-xwhq-2mmh
  • Related CVEs
  • CVE-2026-34241: CtrlPanel Stored XSS Vulnerability

  • CVE-2026-34234: CtrlPanel Billing Software RCE Vulnerability

  • CVE-2026-34358: CtrlPanel Privilege Escalation Flaw

  • CVE-2026-34216: CtrlPanel Billing Software RCE Vulnerability
Default Legacy - Prefooter | Experience the World’s Most Advanced Cybersecurity Platform

Experience the Most Advanced Cybersecurity Platform

See how the world’s most intelligent, autonomous cybersecurity platform can protect your organization today 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