{"schema_version": "1.6.1", "id": "CVE-2025-59302", "summary": "Potential remote code execution on Javascript engine defined rules", "details": "In  Apache CloudStack improper control of generation of code ('Code Injection') vulnerability is found in the following APIs which are accessible only to admins.\n\n  *  quotaTariffCreate\n  *  quotaTariffUpdate\n  *  createSecondaryStorageSelector\n  *  updateSecondaryStorageSelector\n  *  updateHost\n  *  updateStorage\n\n\nThis 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.\n\nThe 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.", "affected": [{"ranges": [{"type": "SEMVER", "events": [{"introduced": "4.18.0"}, {"fixed": "4.20.2"}]}, {"type": "SEMVER", "events": [{"introduced": "4.21.0"}, {"fixed": "4.22.0"}]}]}], "references": [{"type": "WEB", "url": "https://lists.apache.org/thread/kwwsg2j85f1b75o0ht5zbr34d7h66788"}]}