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.
Published: 2026-10-22
Score: 9.3 Critical
EPSS: n/a
KEV: No
Impact: Remote Code Execution via unauthenticated HTTP request
Action: Immediate Patch
AI Analysis

Impact

The vulnerability arises from a PHP code injection flaw in the ShowMsg() function, where the HTTP Referer header is inserted into a DedeTemplate string that is subsequently included. An attacker can craft a Referer header and send a request to /plus/flink.php?dopost=save with an empty validate code, allowing execution of arbitrary PHP and system commands without authentication. This flaw permits complete compromise of the affected system, including data exfiltration, modification, or destruction.

Affected Systems

The issue affects the DedeCMS content management system with version 5.8.1-beta. Users running this specific release are directly exposed to the described exploitation. No other versions are listed as affected in the current data.

Risk and Exploitability

The CVSS score of 9.3 indicates critical severity. Although the EPSS score is not available, the recent observation of exploitation by the Shadowserver Foundation in October 2023 suggests a real risk of abuse. The vulnerability is not yet listed in CISA KEV, but the lack of an exploit probability metric means administrators should treat this as a high‑risk exposure. Attackers can likely exploit the flaw remotely via crafting a Referer header to the vulnerable endpoint without needing any prior authentication.

Generated by OpenCVE AI on October 22, 2026 at 12:17 UTC.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade to the latest DedeCMS release that contains the vendor‑provided fix for this PHP code injection flaw.
  • Apply the official security patch or update package for DedeCMS 5.8.1 to the patched version.
  • Restrict direct access to /plus/flink.php or enforce authentication for that endpoint as a temporary countermeasure.
  • Implement input validation or sanitization on the Referer header before it is written into templates to prevent code injection.

Generated by OpenCVE AI on October 22, 2026 at 12:17 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Thu, 22 Oct 2026 11:00:00 +0000

Type Values Removed Values Added
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.
Title DedeCMS 5.8.1-beta Unauthenticated RCE via plus/flink.php
First Time appeared Dedecms
Dedecms dedecms
Weaknesses CWE-94
CPEs cpe:2.3:a:dedecms:dedecms:*:*:*:*:*:*:*:*
Vendors & Products Dedecms
Dedecms dedecms
References
Metrics cvssV3_1

{'score': 9.8, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H'}

cvssV4_0

{'score': 9.3, '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'}


cve-icon MITRE

Status: PUBLISHED

Assigner: VulnCheck

Published:

Updated: 2026-10-22T10:57:31.176Z

Reserved: 2026-10-14T20:25:29.144Z

Link: CVE-2021-48016

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Received

Published: 2026-10-22T11:17:04.690

Modified: 2026-10-22T11:17:04.690

Link: CVE-2021-48016

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-10-22T13:15:06Z

Weaknesses
  • CWE-94

    Improper Control of Generation of Code ('Code Injection')