Skip to main content
Network Thinking Solutions Logo

CVE-2025-59302

Apache CloudStack: Potential remote code execution on Javascript engine defined rules

All CVEs
CVE-2025-59302Published 11/27/2025

Apache CloudStack: Potential remote code execution on Javascript engine defined rules

Vendor advisory
CVSS4.7Medium

Overview

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.

Published
11/27/2025
Last modified
10/18/2026
CVE assigner
Not available
NVD analysis
Not available

Exploitation

No CISA KEV flag in the saved record

An absent KEV flag does not establish that exploitation has never occurred. Verify current intelligence before prioritizing work.

EPSS predictions and CISA SSVC assessments are not imported here. Review additional intelligence on Cloudflare

Affected products

Affected-version rules published in the advisory. Conditions and uncertain comparisons require verification.

Vendor / productAffected versionsPlatform / conditionsEvidence
cloudstack
apache
≥ 4.18.0.0, < 4.20.2.0

Verify advisory

The supplementary CVE source changed after these NVD rules; verify the current advisory before confirming applicability.

Source
cloudstack
apache
4.21.0.0

Verify advisory

The supplementary CVE source changed after these NVD rules; verify the current advisory before confirming applicability.

Source
Apache CloudStack
Apache Software Foundation
≥ 4.18.0, < 4.20.2

Verify advisory

The supplementary CVE source changed after these NVD rules; verify the current advisory before confirming applicability.

Source
Apache CloudStack
Apache Software Foundation
≥ 4.21.0, < 4.22.0

Verify advisory

The supplementary CVE source changed after these NVD rules; verify the current advisory before confirming applicability.

Source

Recommended actions

Verify the product, installed version, platform, and advisory prerequisites on each system. Apply the vendor's applicable fixed release or mitigation. An affected-range boundary alone is not a universal update recommendation.

Vendor advisory links

Derived from non-aggregator references because the source record has no vendor tags. Verify the advisory before acting on it.

Severity

CVSS describes technical impact. It is separate from exploitation evidence.

Published headline score: 4.7. Score version, vector, and attribution are not available in this record. Additional score details appear when the source record is next refreshed.

Sources & references

Sources: Official CVE List, NVD and cve.now (summaries CC BY 4.0). Uses NVD data; not endorsed by NVD.