Executive brief
Apache CloudStack is a cloud infrastructure management platform used to deploy and manage virtual machines and cloud services. A flaw in the Instance Reset Password feature of the web interface fails to properly encode user input, allowing attackers to inject malicious code that could compromise administrative accounts or steal credentials from users accessing the UI.
Technical details
This is an Improper Encoding or Escaping of Output vulnerability (CWE-116, related to XSS) in Apache CloudStack's web UI affecting the Instance Reset Password functionality. The vulnerability exists because user-controlled input is rendered in the UI without proper encoding or escaping, allowing an attacker to inject arbitrary code. An unauthenticated or low-privileged attacker with network access to the CloudStack management interface could craft a malicious payload to execute JavaScript in the context of an administrator's browser session. Successful exploitation could lead to account hijacking, credential theft, or further infrastructure compromise. Patches are available in versions 4.20.3.1, 4.22.1.1, and later.
Affected products
- Apache CloudStack 4.15.1.0 through 4.20.3.0 and 4.21.0.0 through 4.22.1.0
Timeline
- 2026-08-21: disclosed
- 2026-08-21: patched: Fix available in versions 4.20.3.1, 4.22.1.1 and later