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.
- CVSS
- 9.8Critical
- Chance of exploitation (EPSS)
- 0.44%
- Published
- Oct 22, 2026
- In the news
- Not yet
What to do
A critical code injection flaw in Dedecms that can be attacked over the network without logging in. No attacks are reported yet, but patch it soon.
Action: Check the vendor's advisory in the references and apply updates as soon as they are available.
Affected versions
- Dedecms
- Through 5.8.1-beta
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.
Affected products
Get alerts for these →Timeline 1
Latest change: CVE-2021-48016 published (CVSS 9.8) (Oct 22, 2026)
News, advisories, exploit code, scanner detection and exploitation, newest first.
Thu, Oct 22, 2026
- CVECVE-2021-48016 published (CVSS 9.8)CVE Program · 11:17 UTC
References 4
- github.com /dedecms/DedeCMS/blob/v5.8.1/include/common.func.php
- github.com /projectdiscovery/nuclei-templates/blob/main/http/vulnerabilities/dedecms/dedecms-rce.yaml
- srcincite.io /blog/2021/09/30/chasing-a-dream-pwning-the-biggest-cms-in-china.html
- www.vulncheck.com /advisories/dedecms-5.8.1-beta-unauthenticated-rce-via-plus-flink-php