Security mailing lists by PureSourceCode

CVE-2025-59302

MEDIUM 4.7CVSS 3.1

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
27 Nov 2025
Last modified
18 Oct 2026
Assigned by
security@apache.org
NVD status
Analyzed
Weakness
CWE-94
Sources
NVDJSON

Scores

SourceScored byVersionScoreVector / decision
NVD 134c704f-9b21-4f2e-91b3-4a467353bcc0 (Secondary) CVSS 3.1 MEDIUM 4.7 CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:L/I:L/A:L

Affected

SourceVendor / ecosystemProduct / packageAffected versionsFixed in
NVD apache cloudstack
cpe:2.3:a:apache:cloudstack:*:*:*:*:*:*:*:*
>= 4.18.0.0, < 4.20.2.0 4.20.2.0
NVD apache cloudstack
cpe:2.3:a:apache:cloudstack:4.21.0.0:*:*:*:*:*:*:*
= 4.21.0.0

References

History

  • 25 Nov 2026 20:59 UTC · NVD: first stored (published 27 Nov 2025)
An unhandled error has occurred. Reload ×

Rejoining the server...

Rejoin failed... trying again in seconds.

Failed to rejoin.
Please retry or reload the page.

The session has been paused by the server.

Failed to resume the session.
Please retry or reload the page.