{"schema":"/api/v1/schema/cve.json","api_version":"1","id":"CVE-2025-59302","published":"2025-11-27T12:15:47.410000Z","last_modified":"2026-10-18T20:10:00.110000Z","status":"Analyzed","cvss":{"version":"3.1","score":4.7,"severity":"MEDIUM","vector":"CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:L/I:L/A:L","source":"134c704f-9b21-4f2e-91b3-4a467353bcc0","primary":false},"auth":true,"cwes":["CWE-94"],"cpes":[{"criteria":"cpe:2.3:a:apache:cloudstack:*:*:*:*:*:*:*:*","part":"a","vendor":"apache","product":"cloudstack","version_start_including":"4.18.0.0","version_end_excluding":"4.20.2.0"},{"criteria":"cpe:2.3:a:apache:cloudstack:4.21.0.0:*:*:*:*:*:*:*","part":"a","vendor":"apache","product":"cloudstack","version":"4.21.0.0"}],"cpes_truncated":false,"vendors":["apache"],"products":["apache/cloudstack"],"ssvc":{"exploitation":"none","automatable":"no","technical_impact":"total"},"cat":"app","platform":"multi","eol":false,"packages":[],"severity":"medium","priority_score":28,"links":{"html_es":"/es/cve/CVE-2025-59302/","html_en":"/en/cve/CVE-2025-59302/","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2025-59302","cve_org":"https://www.cve.org/CVERecord?id=CVE-2025-59302"},"untrusted":{"vendor_name":"Apache","product_name":"Cloudstack","desc_en":"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":[{"untrusted_vendor":"Apache Software Foundation","untrusted_product":"Apache CloudStack","versions":[]}],"references":[{"url":"https://lists.apache.org/thread/kwwsg2j85f1b75o0ht5zbr34d7h66788","tags":["Mailing List","Vendor Advisory"]},{"url":"http://www.openwall.com/lists/oss-security/2025/11/27/2","tags":["Mailing List","Third Party Advisory"]}]}}