CVE-2026-34246: CWE-80: Improper Neutralization of Script-Related HTML Tags in a Web Page (Basic XSS) in Ctrlpanel-gg panel
CtrlPanel versions 1. 1. 1 and earlier contain a stored Cross-Site Scripting (XSS) vulnerability in the admin role management interface. This vulnerability arises because user-supplied role names and colors are inserted directly into HTML and style attributes without proper sanitization, allowing an admin with role creation or edit permissions to inject malicious scripts. These scripts execute in the browsers of other admins viewing the roles page, potentially enabling session hijacking, credential theft, lateral privilege escalation, and persistent backdoors. The issue is fixed in version 1. 2. 0.
AI Analysis
Technical Summary
The vulnerability in CtrlPanel (versions prior to 1.2.0) is a stored XSS caused by improper neutralization of script-related HTML tags in the admin role management interface. Specifically, the datatable() method in app/Http/Controllers/Admin/RoleController.php interpolates $role->name and $role->color directly into a <span> element's HTML and style attribute without sanitization. The DataTables .rawColumns(['actions', 'name']) call renders the name column as raw HTML, bypassing automatic escaping. An admin with permissions to create or edit roles can inject malicious payloads (e.g., <img src=x onerror="alert('XSS_POC')">) that persist in the database and execute in other admins' browsers when they load the /admin/roles page. This can lead to session hijacking, credential harvesting, lateral privilege escalation, and persistent backdoors. The vulnerability is resolved in CtrlPanel version 1.2.0.
Potential Impact
Exploitation allows an admin user with role creation or edit permissions to inject persistent malicious scripts that execute in the browsers of other admins. This can lead to session hijacking via cookie theft, credential harvesting through fake login prompts or keyloggers, unauthorized admin actions performed on behalf of victims, and persistent backdoors that re-execute on every page load until the malicious role record is removed. The CVSS 3.1 base score is 4.8 (medium severity), reflecting network attack vector, low complexity, high privileges required, user interaction required, and partial confidentiality and integrity impact without availability impact.
Mitigation Recommendations
This vulnerability is resolved in CtrlPanel version 1.2.0. Users should upgrade to version 1.2.0 or later to remediate the issue. No vendor advisory is provided to indicate alternative mitigations or temporary fixes. Until upgraded, restrict role creation and editing permissions to trusted administrators only to reduce risk.
CVE-2026-34246: CWE-80: Improper Neutralization of Script-Related HTML Tags in a Web Page (Basic XSS) in Ctrlpanel-gg panel
Description
CtrlPanel versions 1. 1. 1 and earlier contain a stored Cross-Site Scripting (XSS) vulnerability in the admin role management interface. This vulnerability arises because user-supplied role names and colors are inserted directly into HTML and style attributes without proper sanitization, allowing an admin with role creation or edit permissions to inject malicious scripts. These scripts execute in the browsers of other admins viewing the roles page, potentially enabling session hijacking, credential theft, lateral privilege escalation, and persistent backdoors. The issue is fixed in version 1. 2. 0.
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
The vulnerability in CtrlPanel (versions prior to 1.2.0) is a stored XSS caused by improper neutralization of script-related HTML tags in the admin role management interface. Specifically, the datatable() method in app/Http/Controllers/Admin/RoleController.php interpolates $role->name and $role->color directly into a <span> element's HTML and style attribute without sanitization. The DataTables .rawColumns(['actions', 'name']) call renders the name column as raw HTML, bypassing automatic escaping. An admin with permissions to create or edit roles can inject malicious payloads (e.g., <img src=x onerror="alert('XSS_POC')">) that persist in the database and execute in other admins' browsers when they load the /admin/roles page. This can lead to session hijacking, credential harvesting, lateral privilege escalation, and persistent backdoors. The vulnerability is resolved in CtrlPanel version 1.2.0.
Potential Impact
Exploitation allows an admin user with role creation or edit permissions to inject persistent malicious scripts that execute in the browsers of other admins. This can lead to session hijacking via cookie theft, credential harvesting through fake login prompts or keyloggers, unauthorized admin actions performed on behalf of victims, and persistent backdoors that re-execute on every page load until the malicious role record is removed. The CVSS 3.1 base score is 4.8 (medium severity), reflecting network attack vector, low complexity, high privileges required, user interaction required, and partial confidentiality and integrity impact without availability impact.
Mitigation Recommendations
This vulnerability is resolved in CtrlPanel version 1.2.0. Users should upgrade to version 1.2.0 or later to remediate the issue. No vendor advisory is provided to indicate alternative mitigations or temporary fixes. Until upgraded, restrict role creation and editing permissions to trusted administrators only to reduce risk.
Technical Details
- Data Version
- 5.2
- Assigner Short Name
- GitHub_M
- Date Reserved
- 2026-03-26T16:22:29.034Z
- Cvss Version
- 3.1
- State
- PUBLISHED
- Remediation Level
- null
Threat ID: 6a0cd72dba1db47362f031ec
Added to database: 5/19/2026, 9:33:33 PM
Last enriched: 5/19/2026, 9:48:38 PM
Last updated: 5/19/2026, 11:10:19 PM
Views: 4
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.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.