{"id":"CVE-2025-59302","published":"2025-11-27T11:46:25Z","modified":"2026-11-03T22:03:06Z","title":"Apache CloudStack: Potential remote code execution on Javascript engine defined rules","vendor":"Apache","product":"Apache CloudStack","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":4.7,"severity":"MEDIUM","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:L/I:L/A:L","provenance":"source","from":"CISA ADP Vulnrichment"},"epss":{"score":0.0049,"percentile":0.43058,"provenance":"source"},"cwes":[{"id":"CWE-94","name":"Improper Control of Generation of Code"}],"references":[{"url":"https://lists.apache.org/thread/kwwsg2j85f1b75o0ht5zbr34d7h66788","tags":["vendor-advisory"]},{"url":"http://www.openwall.com/lists/oss-security/2025/11/27/2","tags":[]}],"priority":{"score":11.9,"factors":[{"name":"EPSS percentile","points":8.61},{"name":"CVSS severity","points":3.29}]},"vendorSlug":"apache","affectedVersions":[{"vendor":"Apache Software Foundation","product":"Apache CloudStack","versions":[">= 4.18.0, < 4.20.2",">= 4.21.0, < 4.22.0"]}],"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"total","timestamp":"2025-12-02T04:56:00.679228Z","from":"CISA ADP","provenance":"source"},"euvd":{"id":"EUVD-2025-199820","exploited":false,"provenance":"source"}}