CVE-2025-59302
published medium CVSS 3.1 · 4.7Apache CloudStack: Potential remote code execution on Javascript engine defined rules
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Apache Software Foundation | — | Apache CloudStack4.18.0 to < 4.20.2 · 4.21.0 to < 4.22.0 · Other versions: unaffected | Affected | Not stated | apache |
Description
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.1
- Base score
- 4.7 / 10
- Severity
- medium
- Provider
- CISA-ADP · adp
- Vector string
- CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:L/I:L/A:L
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| Apache Software Foundation | Apache CloudStack | 4.18.0 to < 4.20.2 (affected · semver)4.21.0 to < 4.22.0 (affected · semver)Default: unaffected | apache · cna |
Weaknesses
2- CWE-94 CWE-94 Improper Control of Generation of Code ('Code Injection')
- CWE-94 CWE-94 Improper Control of Generation of Code ('Code Injection')
References
2Provider assertions
3apache · cna
Apache CloudStack: Potential remote code execution on Javascript engine defined rules
CISA-ADP · adp
CISA ADP Vulnrichment
CVE · adp
CVE Program Container
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- 0cdb26a6d51ce436dac29884122cab8e6f6d4c1669d7c87eed830b7fbda9ef20
- Ingested
- 03 Nov 2026, 22:14:48 UTC
- Source record
- Official CVE record