CVE-2021-48016 Details
Description
DedeCMS through 5.8.1-beta contains a PHP code injection vulnerability in ShowMsg() where the HTTP Referer header is written into a DedeTemplate string and included. Unauthenticated attackers can send a crafted Referer to /plus/flink.php?dopost=save with an empty validate code to execute arbitrary PHP and system commands. Exploitation evidence was first observed by the Shadowserver Foundation on 2023-10-14.
A PHP code injection vulnerability has been identified in DedeCMS versions through 5.8.1-beta. The issue arises in the ShowMsg() function, where the HTTP Referer header is incorporated into a DedeTemplate string without proper sanitization. This vulnerability allows unauthenticated attackers to send a manipulated Referer to the /plus/flink.php?dopost=save endpoint, accompanied by an empty validate code, to execute arbitrary PHP code and system commands. The vulnerability was introduced in the 5.8.1 pre-release and exploitation evidence was first observed on October 14, 2023.
Users are advised to update to the latest version of DedeCMS, as the vulnerability has been patched in version 5.8.1.
Metrics
CVSS 4.0 Severity and Vector Strings:
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
Volerion
Assessed Oct 22, 2026CISA-ADP
Assessed Oct 29, 2026References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-94 | Improper Control of Generation of Code ('Code Injection') | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| DedeCMS | <= 5.8.1-beta (semver) |
CPE
Remediation
| |
Change History
2 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Oct 29, 2026 | CVE Modified | CISA-ADP |
| Oct 22, 2026 | New CVE Received | [email protected] |
Volerion