Code injection in DedeCMS lets unauthenticated attackers run PHP
Key facts
- Attack vector
- Network
- Privileges required
- None
- User interaction
- None
- Attack complexity
- Low
- Attack requirements
- None
- Impact type
- Code execution
- Confidentiality · integrity · availability
- High · High · High
- Fix status
- No fix listed
Attack profile from CVSS 4.0 · CNA. Fix status from CNA. Impact type from CWE-94.
Summary
DedeCMS through 5.8.1-beta contains a code injection flaw (CWE-94) where the HTTP Referer header is written into a template that is then included. An unauthenticated remote attacker can send a crafted Referer to execute arbitrary PHP and system commands. The Shadowserver Foundation first observed exploitation on 2023-10-14, and a public exploit is linked in the references.
Written with Claude Haiku 5.5 from the sources below · 2026-10-29
Description from the CNA
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.
Why it matters now
SSVC decision points
CISA ADP · SSVC 2.0.3
- Exploitation
- Poc
- Automatable
- Yes
- Technical impact
- Total
The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.
Affected products
Remediation
The sources list no fixed version for DedeCMS.
Written with Claude Haiku 5.5 from the sources below · 2026-10-29
Timeline
- 2026-10-22 Threatist record created from CVE-2021-48016
- 2026-10-22 Alias added: GHSA-8g3p-p68p-pg53
- 2026-10-29 CISA SSVC decision points changed
- 2026-10-29 Priority changed: MEDIUM → HIGH
References
More DedeCMS vulnerabilities
- TI-2026-23605 An issue in DedeCMS v.5.7.118 and before allows a remote attacker to execute arbitrary… CVSS 3.1CRITICAL 9.8
- TI-2026-23594 An issue was discovered in DedeCMS 5.7.118 allowing attackers to execute code via crafted… CVSS 3.1CRITICAL 9.8
- TI-2024-19496 DedeCMS v5.7 was discovered to contain a Cross-Site Request Forgery (CSRF) via the… CVSS 3.1CRITICAL 9.8
- TI-2024-19491 A File Upload vulnerability in DedeCMS v5.7 allows a local attacker to execute arbitrary code via a crafted payload. CVSS 3.1CRITICAL 9.8
- TI-2018-05549 DedeCMS 5.7 has CSRF with an impact of arbitrary code execution, because the partcode… CVSS 3.0HIGH 8.8
- TI-2010-05075 File inclusion in DedeCMS via plus/carbuyaction.php CVSS 4.0HIGH 8.7
Sources
- CVE-2021-48016 · CVE Program
- CVE-2021-48016 · NVD
- FIRST EPSS
- GHSA-8g3p-p68p-pg53 · GitHub Advisory Database · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences