Description
Improper Encoding or Escaping of Output vulnerability in Apache CloudStack's UI while using Lock User Functionality.

This issue affects Apache CloudStack: from 4.20.0.0 through 4.20.3.0 and from 4.21.0.0 through 4.22.1.0.

Users are recommended to upgrade to version 4.20.3.1 or 4.22.1.1 or later, which fixes the issue.
Published: 2026-08-21
Score: 4.8 Medium
EPSS: < 1% Very Low
KEV: No
Impact: Cross‑Site Scripting via Lock User in UI
Action: Immediate Patch
AI Analysis

Impact

The flaw is an improper encoding or escaping of output in Apache CloudStack’s administration UI when using the Lock User feature. An attacker can inject malicious script into the user lock form or resulting pages, leading to a stored or reflected cross‑site scripting condition. Successful exploitation would allow the attacker to execute arbitrary JavaScript in the context of the administrative interface, potentially enabling session hijacking, credential theft, or lateral movement within the application.

Affected Systems

Apache Software Foundation’s Apache CloudStack version 4.20.0.0 up to and including 4.20.3.0 and versions 4.21.0.0 through 4.22.1.0 are vulnerable. The vulnerability only exists when the Lock User function is used in the UI; it does not affect API calls or other components.

Risk and Exploitability

The CVSS score is 4.8, and the EPSS score is < 1%, indicating a very low probability of exploitation. The attack surface is the web UI and therefore accessible to anyone who can reach the management server, making it a high convenience risk. The vulnerability is not listed in CISA’s KEV catalog, but it remains a serious XSS that could be abused for privilege escalation or data exfiltration if an attacker can compromise an administrator’s session.

Generated by OpenCVE AI on August 24, 2026 at 19:05 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Upgrade Apache CloudStack to version 4.20.3.1 or 4.22.1.1 or later to patch the encoding issue.
  • Re‑enable the Lock User feature after patching and verify that the UI no longer accepts unsanitized input.
  • Apply a Content Security Policy header that restricts script execution on the administration domain to reduce the impact of any remaining XSS vectors.

Generated by OpenCVE AI on August 24, 2026 at 19:05 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Thu, 27 Aug 2026 00:30:00 +0000

Type Values Removed Values Added
First Time appeared Apache cloudstack
CPEs cpe:2.3:a:apache:cloudstack:*:*:*:*:*:*:*:*
Vendors & Products Apache cloudstack

Mon, 24 Aug 2026 18:30:00 +0000

Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'partial'}, 'version': '2.0.3'}


Mon, 24 Aug 2026 17:30:00 +0000

Type Values Removed Values Added
Metrics cvssV3_1

{'score': 4.8, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:H/UI:R/S:C/C:L/I:L/A:N'}


Fri, 21 Aug 2026 11:15:00 +0000

Type Values Removed Values Added
First Time appeared Apache
Apache apache Cloudstack
Vendors & Products Apache
Apache apache Cloudstack

Fri, 21 Aug 2026 08:45:00 +0000

Type Values Removed Values Added
Description Improper Encoding or Escaping of Output vulnerability in Apache CloudStack's UI while using Lock User Functionality. This issue affects Apache CloudStack: from 4.20.0.0 through 4.20.3.0 and from 4.21.0.0 through 4.22.1.0. Users are recommended to upgrade to version 4.20.3.1 or 4.22.1.1 or later, which fixes the issue.
Title Apache CloudStack: Cross-Site Scripting (XSS) Vulnerability in Lock User Function in UI
Weaknesses CWE-116
References

Subscriptions

Apache Apache Cloudstack Cloudstack
cve-icon MITRE

Status: PUBLISHED

Assigner: apache

Published:

Updated: 2026-08-24T17:04:44.124Z

Reserved: 2026-07-09T08:10:28.174Z

Link: CVE-2026-61399

cve-icon Vulnrichment

Updated: 2026-08-24T17:04:38.712Z

cve-icon NVD

Status : Analyzed

Published: 2026-08-21T09:16:39.603

Modified: 2026-08-27T00:19:27.430

Link: CVE-2026-61399

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-08-24T19:15:04Z

Weaknesses
  • CWE-116

    Improper Encoding or Escaping of Output