Unknown · Chestnutcms · CVE-2025-2031
**Name of the Vulnerable Software and Affected Versions**
ChestnutCMS versions up to 1.5.2
**Description**
A critical issue has been discovered that affects the `uploadFile` function of the `/dev-api/cms/file/upload` API endpoint. The manipulation of the `file` argument leads to unrestricted upload. This issue can be exploited remotely.
**Recommendations**
For ChestnutCMS versions up to 1.5.2, as a temporary workaround, consider disabling the `uploadFile` function until a patch is available. Restrict access to the `/dev-api/cms/file/upload` API endpoint to minimize the risk of exploitation. Avoid using the `file` argument in the affected API endpoint until the issue is resolved.