{"id":78640,"date":"2026-05-20T00:48:10","date_gmt":"2026-05-19T21:18:10","guid":{"rendered":"https:\/\/afaghhosting.net\/blog\/cve-2026-34246-ctrlpanel-stored-xss-in-admin-role-management-via-unescaped-datatable-html-output\/"},"modified":"2026-05-20T00:48:10","modified_gmt":"2026-05-19T21:18:10","slug":"cve-2026-34246-ctrlpanel-stored-xss-in-admin-role-management-via-unescaped-datatable-html-output","status":"publish","type":"post","link":"https:\/\/afaghhosting.net\/blog\/cve-2026-34246-ctrlpanel-stored-xss-in-admin-role-management-via-unescaped-datatable-html-output\/","title":{"rendered":"CVE-2026-34246 &#8211; CtrlPanel: Stored XSS in Admin Role Management via Unescaped DataTable HTML Output"},"content":{"rendered":"<p>CVE ID :CVE-2026-34246<\/p>\n<p>  Published : May 19, 2026, 9:18 p.m. | 40\u00a0minutes ago<\/p>\n<p>  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-&gt;name and $role-&gt;color directly into a  element&#8217;s HTML and style attribute without sanitization, and the chained .rawColumns([&#8216;actions&#8217;, &#8216;name&#8217;]) 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  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.<\/p>\n<p>  Severity: 0.0 | NA<\/p>\n<p>  Visit the link for more details, such as CVSS details, affected products, timeline, and more&#8230;\u00a0<\/p>\n","protected":false},"excerpt":{"rendered":"<p>CVE ID :CVE-2026-34246 Published : May 19, 2026, 9:18 p.m. | 40\u00a0minutes ago 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-&gt;name and $role-&gt;color directly into a element&#8217;s HTML and &hellip;<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[26],"tags":[],"class_list":["post-78640","post","type-post","status-publish","format-standard","hentry","category-vulnerability"],"_links":{"self":[{"href":"https:\/\/afaghhosting.net\/blog\/wp-json\/wp\/v2\/posts\/78640","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/afaghhosting.net\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/afaghhosting.net\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/afaghhosting.net\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/afaghhosting.net\/blog\/wp-json\/wp\/v2\/comments?post=78640"}],"version-history":[{"count":0,"href":"https:\/\/afaghhosting.net\/blog\/wp-json\/wp\/v2\/posts\/78640\/revisions"}],"wp:attachment":[{"href":"https:\/\/afaghhosting.net\/blog\/wp-json\/wp\/v2\/media?parent=78640"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/afaghhosting.net\/blog\/wp-json\/wp\/v2\/categories?post=78640"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/afaghhosting.net\/blog\/wp-json\/wp\/v2\/tags?post=78640"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}