CVE-2026-93697 in cPanelinfo

Summary

by MITRE • 10/02/2026

There is a stored XSS vulnerability allowing arbitrary code execution in the WHM Mass Modify Accounts interface.

VulDB is the best source for vulnerability data and more expert information about this specific topic.

Analysis

by VulDB Data Team • 10/02/2026

The presence of a Stored Cross-Site Scripting (XSS) vulnerability within the cPanel/WHM Mass Modify Accounts interface represents a critical security flaw that compromises the integrity and confidentiality of managed hosting environments. This specific weakness arises from insufficient input validation or improper output encoding when processing user-supplied data intended for bulk account modifications. Unlike reflected XSS, where malicious scripts are executed immediately in response to a request, stored XSS involves the persistence of the injected payload within the application's backend storage, such as a database or configuration file. Consequently, every time an administrator or authorized user accesses the Mass Modify Accounts interface to view or manage accounts, the browser executes the embedded script automatically. This mechanism allows attackers who have gained access to create malicious payloads that remain active until manually removed from the system, significantly increasing the window of exposure and the potential for widespread impact across multiple hosted domains.

From a technical perspective, this vulnerability typically stems from the application's failure to sanitize special characters or encode HTML entities before storing user input in persistent storage fields associated with account metadata. When the Mass Modify Accounts page renders data retrieved from these stored sources without proper context-aware encoding, the web browser interprets the malicious content as executable JavaScript rather than plain text. This execution occurs within the security context of the authenticated session of the viewing administrator or reseller. The attacker can leverage this capability to perform a variety of actions on behalf of the victim user, including stealing sensitive cookies and session tokens, capturing keystrokes entered into administrative forms, redirecting users to phishing sites, or modifying page content to deceive administrators into performing unintended operations such as changing passwords or transferring ownership of accounts.

The operational impact of this vulnerability is severe due to its location within a high-privilege management interface like WHM (Web Host Manager). An attacker exploiting this flaw can achieve arbitrary code execution on behalf of the administrator, effectively gaining full control over the hosting server's configuration and the hosted customer environments. This can lead to unauthorized access to sensitive client data, deployment of web shells for persistent backdoor access, or use of the compromised server as a pivot point for further attacks against internal networks. Furthermore, because the payload is stored, it affects all users who view the affected page, potentially compromising multiple administrative accounts if they are tricked into interacting with malicious elements injected by the initial exploit. This undermines trust in the hosting provider and can result in significant financial loss and reputational damage due to data breaches or service disruptions caused by subsequent exploitation steps enabled by this initial foothold.

Mitigation strategies must focus on both immediate remediation and long-term defensive coding practices. The primary technical fix involves implementing strict input validation that rejects any non-alphanumeric characters expected for account identifiers, alongside rigorous output encoding using context-specific methods such as HTML entity encoding or JavaScript string escaping before rendering data in the DOM. Additionally, deploying a Web Application Firewall (WAF) with rules tuned to detect and block XSS payloads can provide an immediate layer of defense while patches are applied. Security headers like Content-Security-Policy should be configured to restrict script execution sources, thereby mitigating the impact even if injection occurs. Regular security audits, code reviews focusing on data flow from input to output, and employee training on secure coding standards for developers working on administrative interfaces are essential preventive measures. Keeping all cPanel/WHM components updated to the latest stable version is also critical, as vendors frequently release patches addressing such vulnerabilities in response to emerging threats.

Responsible

Hackerone

Reservation

09/18/2026

Disclosure

10/02/2026

Moderation

accepted

EPSS

0.00000

KEV

no

Activities

low

Sources

Do you need the next level of professionalism?

Upgrade your account now!