CVE-2026-34246
Description
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.
Description as published by the source, in English.
Key facts
- Published
- 2026-05-19
- Last modified
- 2026-07-24
- Assigned by
- security-advisories@github.com
- CVSS vector
CVSS:3.1/AV:N/AC:L/PR:H/UI:R/S:C/C:L/I:L/A:N- Scored by
- security-advisories@github.com
- Probability of exploitation
-
0.2 %
higher than 12 %
of all known vulnerabilities
EPSS, next 30 days, model v2026.06.15 - Fix available
- Not registered in the sources
Affected products
| Vendor | Product | Versions | Status |
|---|---|---|---|
| Ctrlpanel-gg | panel | < 1.2.0 | Affected |
Weakness type
-
CWE-116: Improper Encoding or Escaping of Output
The product prepares a structured message for communication with another component, but encoding or escaping of the data is either missing or done incorrectly. As a result, the intended structure of the message is not p…
-
CWE-80: Improper Neutralization of Script-Related HTML Tags in a Web Page
The product receives input from an upstream component, but it does not neutralize or incorrectly neutralizes special characters such as "<", ">", and "&" that could be interpreted as web-scripting elements when they are…
References
- https://github.com/Ctrlpanel-gg/panel/releases/tag/1.2.0
- https://github.com/Ctrlpanel-gg/panel/security/advisories/GHSA-wpqj-xwhq-2mmh
- https://github.com/Ctrlpanel-gg/panel/security/advisories/GHSA-wpqj-xwhq-2mmh
Related at Berigo
Articles
-
New malware looks up its command server in a Polygon smart contract
Same product
2026-09-26
Blackpoint has found ChainScript, a Node.js remote access trojan spread through fake installers for Spotify, Zoom and Teams. Rather than trusting the…
-
Permission to park a domain can hand over the entire server
Same product
2026-09-01
cPanel has patched CVE-2026-65643, where a logged-in user with permission to add parked domains can create arbitrary files on the server. Exploitatio…
-
The industrial software shipped with a database that went out of date years ago
Same product
2026-08-07
CISA published three new industrial control system advisories on 6 August 2026. The weightiest concerns ABB Ability Zenon, where the IIoT services in…
-
Midnight Blizzard hijacks hotel Wi-Fi and steals logins from travellers
Same product
2026-08-03
Microsoft published details of the CaptiveCrunch campaign on 31 July 2026, in which the actor Midnight Blizzard hijacks hotel wireless networks and r…
Does this affect you?
A vulnerability matters only if you run the product, in an affected version, somewhere an attacker can reach.