CVE-2021-48016DedeCMS
Unauthenticated PHP Code Injection in DedeCMS
Critical 9.3 No auth needed
Follow: this CVE · DedeCMS · DedeCMS We alert you by email or Slack (account required).
- Priority
- 71
- CVSS 4.0
- 9.3
- EPSS
- 0.8% probability of exploitation in 30 days · percentile 54
- Auth required
- No
- Published
- Oct 22, 2026
- Updated
- Oct 29, 2026
- Category
- Application · Cross-platform
- Weakness (CWE)
- CWE-94
- SSVC (CISA)
- Exploitation: proof of concept · Automatable: yes · Technical impact: total
- Vector
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
What happens
DedeCMS through version 5.8.1-beta contains a PHP code injection vulnerability in the ShowMsg() function where the HTTP Referer header is written into a DedeTemplate string and included. An unauthenticated attacker can send a crafted Referer to /plus/flink.php?dopost=save with an empty validation code to execute arbitrary PHP and system commands. Exploitation was first observed on October 14, 2023.
Show the original NVD text
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.
What to do
No patch data
Update DedeCMS to a version after 5.8.1-beta. If no patch is available, implement filters on the Referer header and restrict access to /plus/flink.php.
- Apply the vendor's security update for DedeCMS.
- It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.
Affected products
- DedeCMS · DedeCMS
As reported by the CNA that published the CVE. NVD has not added CPEs with versions yet.
Official sources
References
Links published by the sources. Open them with care.