CVE-2021-48016
DedeCMS through 5.8.1-beta contains a PHP code injection vulnerability in ShowMsg() where the HTTP…
- Risk score
- 81/100
- CVSS
- 9.8 v3.1
- Exploit chance (30 days)
- 0.4%
- Published
- 22 Oct 2026
Open in the live forecast Today's forecast
What to know
- What it is
- 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 execute arbitrary PHP and system commands.
- Affected
- {'products': ['DedeCMS'], 'packages': [], 'versions': ['<= 5.8.1-beta']}
- Fix
- Check the linked advisory for a fix, as none is provided.
- Exploitation
- Exploited in the wild
Why it is Red
- CVSS 9.8 critical
- Remotely exploitable without logging in
- On your watchlist: php
References
- https://github.com/dedecms/DedeCMS/blob/v5.8.1/include/common.func.php
- https://github.com/projectdiscovery/nuclei-templates/blob/main/http/vulnerabilities/dedecms/dedecms-rce.yaml
- https://srcincite.io/blog/2021/09/30/chasing-a-dream-pwning-the-biggest-cms-in-china.html
- https://www.vulncheck.com/advisories/dedecms-5.8.1-beta-unauthenticated-rce-via-plus-flink-php
Original 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.
Last activity 22 Oct 2026. Patch Forecast updates every hour.