CVE-2025-65602
Published: 10 December 2025
Description
A template injection vulnerability in the /vip/v1/file/save component of ChanCMS v3.3.4 allows attackers to execute arbitrary code via a crafted POST request.
Mitigating Controls (NIST 800-53 r5)AI
Directly mandates timely remediation of the specific template injection flaw in ChanCMS v3.3.4 to prevent arbitrary code execution.
Requires validation of POST request inputs to the /vip/v1/file/save endpoint to block crafted payloads causing template injection.
Restricts or safeguards unauthenticated actions on the vulnerable /vip/v1/file/save endpoint to prevent exploitation by network-accessible attackers.
Security SummaryAI
CVE-2025-65602 is a template injection vulnerability in the /vip/v1/file/save component of ChanCMS version 3.3.4. Published on 2025-12-10, it enables attackers to execute arbitrary code through a crafted POST request. The issue carries a CVSS v3.1 base score of 9.8 (AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H) and is linked to CWE-94 (code injection) and CWE-1336 (incorrect handling of code blocks in templates).
Any unauthenticated attacker with network access can exploit this vulnerability due to its low attack complexity and lack of requirements for privileges or user interaction. Exploitation via a specially crafted POST request to the affected endpoint results in remote code execution, providing high-impact access to compromise confidentiality, integrity, and availability of the targeted ChanCMS instance.
Advisories and further details are available in the ChanCMS repository at https://gitee.com/chancms/ChanCMS and the Notion page describing the unauthenticated RCE at https://www.notion.so/ChanCMS-Unauthenticated-RCE-2a3ee9235ba380fc9973e16c06258689.
Details
- CWE(s)
Affected Products
MITRE ATT&CK Enterprise TechniquesAI
Why these techniques?
The vulnerability is an unauthenticated template injection in a public-facing web application component (/vip/v1/file/save) enabling remote code execution via crafted POST request, directly mapping to exploitation of public-facing applications.