Code Injection Vulnerability in Apache CloudStack APIs Affecting Admins
CVE-2025-59302

4.7MEDIUM

Key Information:

Vendor

Apache

Vendor
CVE Published:
27 November 2025

What is CVE-2025-59302?

A code injection vulnerability has been identified in Apache CloudStack, impacting specific admin-accessible APIs. The APIs affected include quotaTariffCreate, quotaTariffUpdate, createSecondaryStorageSelector, updateSecondaryStorageSelector, updateHost, and updateStorage. This vulnerability allows unauthorized code execution under certain conditions where admin privileges are necessary. The recommended remediation is to update to versions 4.20.2 or 4.22.0, which implement a global configuration flag, js.interpretation.enabled, to better control JavaScript expression interpretation, effectively reducing the risk associated with this vulnerability.

Affected Version(s)

Apache CloudStack 4.18.0 < 4.20.2

Apache CloudStack 4.21.0 < 4.22.0

References

CVSS V3.1

Score:
4.7
Severity:
MEDIUM
Confidentiality:
Low
Integrity:
Low
Availability:
Low
Attack Vector:
Network
Attack Complexity:
Low
Privileges Required:
High
User Interaction:
None
Scope:
Unchanged

Timeline

  • Vulnerability published

  • Vulnerability Reserved

Credit

Tianyi Cheng <[email protected]>
.
CVE-2025-59302 : Code Injection Vulnerability in Apache CloudStack APIs Affecting Admins