ChanCMS - RCE (CVE-2025-8266)
Description
A vulnerability has been found in yanyutao0402 ChanCMS up to 3.1.2 and classified as critical. Affected by this vulnerability is the function getArticle of the file app/modules/cms/controller/collect.js. The manipulation of the argument targetUrl leads to deserialization. The attack can be launched remotely. The exploit has been disclosed to the public and may be used. Upgrading to version 3.1.3 is able to address this issue. It is recommended to upgrade the affected component.
psychologyCrowdSec Analysis
CVE-2025-8266 is a critical vulnerability in yanyutao0402 ChanCMS versions up to 3.1.2, specifically affecting the getArticle function in collect.js. This flaw allows remote attackers to exploit unsafe deserialization via the targetUrl parameter, potentially leading to remote code execution. With public exploit details available, attackers could leverage this vulnerability to compromise affected systems. Upgrading to version 3.1.3 is strongly recommended to mitigate the risk.
CrowdSec has been tracking this vulnerability and its exploits since 30th of March 2026.
CrowdSec network observations suggest that most exploitation of CVE-2025-8266 involves focused reconnaissance to identify viable targets. Attackers typically tailor their campaigns based on system exposure and configuration. It is unlikely that a given attack is accidental. CrowdSec network telemetry also shows that exploitation of CVE-2025-8266 has significantly declined over the past week. Attack volumes are well below the long-term average, suggesting attackers are rapidly losing interest. The vulnerability appears to be falling out of active use across most threat landscapes.
Attackers exploit the /cms/gather/getArticle endpoint by manipulating the targetUrl and parseData parameters to trigger insecure deserialization, enabling remote code execution on vulnerable ChanCMS instances.
Full Intelligence Available
Connect your API key to access CrowdSec scores, exploit timelines, and attacker IPs.
| Event | Date |
|---|---|
| CVE Published | 2025-07-28 |
| Rule Released | 2026-03-30 |
| CrowdSec First Seen | 2026-03-31 |
Related Weaknesses
The product deserializes untrusted data without sufficiently ensuring that the resulting data will be valid.
The product receives input or data, but it does not validate or incorrectly validates that the input has the properties that are required to process the data safely and correctly.