Skip to main content

Apache CloudStack CVE-2026-61399

| EUVDEUVD-2026-63838 MEDIUM
Improper Encoding or Escaping of Output (CWE-116)
2026-08-21 apache GHSA-4rrq-73x5-wj26
4.8
CVSS 3.1 · Vendor: apache
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Attacker registers CloudStack account with XSS payload
  2. Delivery
    Admin navigates to Lock User workflow in management UI
  3. Exploit
    UI renders user field without output encoding
  4. Execution
    Injected script executes in admin browser session
  5. Impact
    Attacker exfiltrates admin session token or performs privileged actions

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A05:2025 - Injection
ASVS 5.0
V1 - Encoding and Sanitization Output encoding for downstream
Exploitation Conditions

Exploitation requires two preconditions: first, the attacker must hold a valid (low-privilege) user account in the target Apache CloudStack deployment to inject a payload into a user-controlled attribute; second, a CloudStack administrator must actively invoke the Lock User workflow against that account, triggering the unescaped rendering. Exploitation is constrained by the need for this specific admin action - purely passive or automated network exploitation is not applicable. Authentication requirements for the attacker are inferred as low-privilege authenticated user (no CVSS vector was provided to confirm PR level). What limits exploitation further is that the vulnerable code path is only reached during an explicit administrative operation, not on any routine page load or API call, narrowing the window of opportunity.

Impact

No CVSS vector was provided by the Apache reporter, so all metric assessments are independently inferred. Based on CWE-116, the UI context, and the Lock User trigger, this is assessed as a stored XSS requiring low-privilege attacker access and an admin UI interaction - consistent with a CVSS 3.1 Medium (~5.4). EPSS data is unavailable. There is no CISA KEV entry and no confirmed public POC, so no public exploit identified at time of analysis. The real-world risk is moderate: exploitation is gated on an administrator actively using the Lock User function against a user whose data contains an injected payload, eliminating opportunistic or fully automated attacks. However, in multi-tenant cloud environments where untrusted end-users share a CloudStack instance, the risk elevates because the attacker pool is broad and admin actions on user accounts are routine. The Information Disclosure tag from NVD understates the potential impact - successful XSS against an admin session could achieve privilege escalation or unauthorized infrastructure changes, not merely data leakage.

Exploit ScenarioDerived

A malicious low-privilege user registers or modifies their CloudStack account so that a user-controlled field (such as a display name) contains a crafted JavaScript payload. When a CloudStack administrator later navigates to the Lock User interface and selects that account, the management UI renders the unescaped field, causing the payload to execute in the administrator's browser session. No public POC has been identified, but the attack is consistent with well-understood stored XSS techniques applicable to any unescaped UI field.

This Month Plan within 30 days. Why: MEDIUM severity (CVSS 4.0-6.9).
No patch listed yet 0.1% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – Aug 21, 2026

Improper output encoding in Apache CloudStack's management UI exposes administrators to cross-site scripting (XSS) when using the Lock User functionality across versions 4.20.0.0-4.20.3.0 and 4.21.0.0-4.22.1.0. A low-privilege user can embed a malicious script payload in a user-controlled field; when an administrator invokes the Lock User workflow, the CloudStack UI renders the payload without proper HTML or JavaScript escaping, executing it in the admin's browser session. No public exploit or CISA KEV listing has been identified at time of analysis, but the potential for admin session hijacking makes this a meaningful risk in multi-tenant environments.

RemediationAI

Upgrade to Apache CloudStack 4.20.3.1 (for deployments on the 4.20.x branch) or 4.22.1.1 (for deployments on the 4.21.x/4.22.x branch) or any later release, as confirmed by the Apache advisory at https://lists.apache.org/thread/g6cwddtjrwbh1d56wjz4cfp3fzfm4kbc. If immediate patching is not feasible, limit access to the CloudStack management UI to a minimal set of trusted administrators and audit existing user account fields for suspicious content. Restricting the ability for untrusted end-users to self-register or modify their own profile fields reduces the attacker's ability to introduce a payload, but does not address the underlying encoding defect and is not a substitute for patching.

Affected VersionsENISA

Apache CloudStack 4.20.0.0 ≤4.20.3.0
Apache CloudStack 4.21.0.0 ≤4.22.1.0

Affected Packages

euvd apache_cloudstack no fix

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 1 package in euvd

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

CWE-116 (Improper Encoding or Escaping of Output) describes a class of flaws where user-supplied data is embedded into an output context - in this case an HTML/JavaScript UI - without applying the encoding appropriate to that context (e.g., HTML-entity encoding or JavaScript string escaping). Apache CloudStack is an open-source IaaS platform that manages compute, network, and storage resources via a web-based management interface; the affected component is its UI rendering pipeline in the Lock User administrative workflow. The vulnerable software is identified by CPE cpe:2.3:a:apache_software_foundation:apache_cloudstack covering the 4.20.x and 4.21.x/4.22.x release trains. When user-controlled strings (such as usernames or profile attributes) are displayed in the Lock User dialog or page without proper output encoding, the browser interprets embedded script tags or event handlers as executable JavaScript rather than inert text.

Know when Apache Cloudstack gets its next vulnerability

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

Vendor (apache) PRIMARY 4.8 LOW
AV:N/AC:L/PR:H/UI:R/S:C/C:L/I:L/A:N
vuln.today AI 5.4 MEDIUM

Network-based UI XSS requiring low-privilege attacker account and admin UI interaction; scope changes to victim browser session with limited C/I impact and no availability impact.

3.1 AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N
4.0 AV:N/AC:L/AT:N/PR:L/UI:A/VC:L/VI:L/VA:N/SC:L/SI:L/SA:N

Primary rating from Vendor (apache).

CVSS VectorVendor: apache

Attack Vector
Network
Attack Complexity
Low
Privileges Required
High
User Interaction
Required
Scope
Changed
Confidentiality
Low
Integrity
Low
Availability
None

Lifecycle Timeline

1
CVSS changed
Aug 24, 2026 - 17:22 NVD
4.8 (MEDIUM)

DescriptionCVE.org

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.

Threat Intelligence Overview

EPSS Score
0.1%
Top 96% exploitable
Prevalence
Medium
IaaS platform used by cloud service providers and enterprises
Data Quality
6 sources
Confidence: High

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity MEDIUM
CISA KEV No
Public POC No
EPSS 0.1%
Patch available No
Active threat No
Deciding rule
MEDIUM severity (CVSS 4.0-6.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Scheduled
Exploitation
None
System Exposure· derived
Open
Automatable
No
Human Impact· derived
Medium
Technical Impact
Partial

Priority Score

24
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +24
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Information disclosure occurs when an application unintentionally exposes sensitive data that aids attackers in reconnaissance or directly compromises security.

CVE-2026-62440 CRITICAL
9.1 Aug 21

Cross-tenant manipulation in Apache CloudStack's Kubernetes Service (CKS) plugin allows a tenant to add and remove nodes

CVE-2026-25199 CRITICAL
9.1 May 08

Unauthorized cross-tenant access in Apache CloudStack 4.21.0 through 4.22.0 allows remote unauthenticated attackers to g

CVE-2026-59799 HIGH
8.8 Aug 21

Two-factor authentication bypass in Apache CloudStack allows an authenticated low-privileged user to exploit an improper

CVE-2026-50112 HIGH
8.8 Aug 21

Cross-tenant root command execution in Apache CloudStack (4.14.0.0-4.20.3.0 and 4.21.0.0-4.22.1.0) allows an authenticat

CVE-2026-25077 HIGH
8.8 May 08

Remote code execution in Apache CloudStack allows authenticated account users to execute arbitrary code on KVM hyperviso

CVE-2026-68745 HIGH
8.1 Aug 21

SAML authentication bypass in Apache CloudStack 4.20.3.0 and 4.22.1.0 permits a network-positioned attacker to forge SAM

CVE-2025-66467 HIGH
8.1 May 08

Apache CloudStack deployments that use MinIO-backed object storage fail to revoke the MinIO policy associated with a buc

CVE-2025-66172 HIGH
8.1 May 08

Authenticated CloudStack users can hijack volumes from other tenants' backups via the Backup plugin in versions 4.21.0.0

CVE-2026-59655 HIGH
7.5 Aug 21

Sensitive OAuth configuration data is exposed to unauthenticated remote actors in Apache CloudStack's OAuth authenticati

CVE-2026-61397 HIGH
7.5 Aug 21

Sensitive information exposure in Apache CloudStack's OAuth2 authentication plugin and Google OAuth integration allows u

CVE-2026-50222 HIGH
7.5 Aug 21

Missing authorization controls across multiple Userdata-related APIs in Apache CloudStack expose cross-tenant data to an

CVE-2026-66722 HIGH
7.2 Aug 21

Broken object-level authorization in Apache CloudStack exposes project role management APIs to Domain Admins operating o

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy