Vulnerability Details CVE-2025-59302
In Apache CloudStack improper control of generation of code ('Code Injection') vulnerability is found in the following APIs which are accessible only to admins.
* quotaTariffCreate
* quotaTariffUpdate
* createSecondaryStorageSelector
* updateSecondaryStorageSelector
* updateHost
* updateStorage
This issue affects Apache CloudStack: from 4.18.0 before 4.20.2, from 4.21.0 before 4.22.0. Users are recommended to upgrade to versions 4.20.2 or 4.22.0, which contain the fix.
The fix introduces a new global configuration flag, js.interpretation.enabled, allowing administrators to control the interpretation of JavaScript expressions in these APIs, thereby mitigating the code injection risk.
Exploit prediction scoring system (EPSS) score
EPSS Score 0.0
EPSS Ranking 10.9%
CVSS Severity
CVSS v3 Score 4.7
Products affected by CVE-2025-59302
-
cpe:2.3:a:apache:cloudstack:4.18.0.0
-
cpe:2.3:a:apache:cloudstack:4.18.1.0
-
cpe:2.3:a:apache:cloudstack:4.18.1.1
-
cpe:2.3:a:apache:cloudstack:4.18.2.0
-
cpe:2.3:a:apache:cloudstack:4.18.2.1
-
cpe:2.3:a:apache:cloudstack:4.18.2.2
-
cpe:2.3:a:apache:cloudstack:4.18.2.3
-
cpe:2.3:a:apache:cloudstack:4.18.2.4
-
cpe:2.3:a:apache:cloudstack:4.18.2.5
-
cpe:2.3:a:apache:cloudstack:4.19.0.0
-
cpe:2.3:a:apache:cloudstack:4.19.0.1
-
cpe:2.3:a:apache:cloudstack:4.19.0.2
-
cpe:2.3:a:apache:cloudstack:4.19.1.0
-
cpe:2.3:a:apache:cloudstack:4.19.1.1
-
cpe:2.3:a:apache:cloudstack:4.19.1.2
-
cpe:2.3:a:apache:cloudstack:4.19.1.3
-
cpe:2.3:a:apache:cloudstack:4.19.2.0
-
cpe:2.3:a:apache:cloudstack:4.19.3.0
-
cpe:2.3:a:apache:cloudstack:4.20.0.0
-
cpe:2.3:a:apache:cloudstack:4.20.1.0
-
cpe:2.3:a:apache:cloudstack:4.21.0.0