CVE-2021-48016

9.8Critical

Published 22 Oct 2026 · NVD status: Deferred · AI triage by gemini-3.8-flash

9.8CVSS

Critical

0CVSS v3.110

Attack vector
Network
Complexity
Low
Privileges
None
User action
None
Impact
Full C/I/A compromise
Weakness
CWE-94

What an attacker gets

Unauthenticated remote attackers can execute arbitrary PHP code and system commands on the server. They only need network access to send a malicious HTTP request with a crafted Referer header.

Root cause

The ShowMsg() function interpolates the untrusted HTTP Referer header directly into a DedeTemplate string that is subsequently evaluated as code.

Affected versions

DedeCMS through version 5.8.1-beta.

CVSS v3.1 · CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

Fix & remediation

Upgrade to a fixed DedeCMS release higher than 5.8.1-beta when available, or immediately restrict or block public access to /plus/flink.php using your web server configuration.

AI-suggested. Run it in staging first and check it against the vendor advisory. Why?

NVD 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.

References

Source: nvd.nist.gov/vuln/detail/CVE-2021-48016