SecurityContext

CVE-2021-47735: CMSimple - Remote Code Execution

  • Cve: CVE-2021-47735
  • Name: CMSimple - Remote Code Execution
  • Description: CMSimple 5.4 contains an authenticated remote code execution vulnerability that allows logged-in attackers to inject malicious PHP code into template files. Attackers can exploit the template editing functionality by crafting a reverse shell payload and saving it through the template editing endpoint with a valid CSRF token.
  • Impact: Logged-in attackers can execute arbitrary PHP code remotely, potentially leading to full server compromise.
  • Remediation: Update to the latest version of CMSimple.
  • Vulnerability type: command_injection
  • Vulnerability impact: remote_code_execution
  • Requirement type: logged_in
  • Requirements: Attacker must be logged in and have a valid CSRF token
  • Labels source: projectdiscovery
  • Severity: high
  • Cvss score: 8.8
  • Cvss vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
  • Epss score: 0.00948
  • Epss percentile: 0.62074
  • Assignee: [email protected]
  • Published at: 2025-12-23T20:15:45Z
  • Age in days: 336
  • Modified at: 2026-06-17T04:18:23Z
  • Public exploits total: 1
  • References total: 3
  • Products total: 1
  • Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2021-47735
  • Nvd status: analyzed
  • Checked, none or zero: patch available, known exploited entries, nuclei templates, public exploits capped, oss, projects total, projects, rejected by nvd
  • Not known: hackerone

Cwe

IdName
CWE-94Improper Control of Generation of Code

Public exploits

UrlSourceAdded date
https://www.exploit-db.com/exploits/50356nvd2025-12-23

References

Same in every row:

  • Source: nvd
UrlTags
https://www.exploit-db.com/exploits/50356Exploit
https://www.vulncheck.com/advisories/cmsimple-authenticated-remote-code-execution-via-template-editingThird Party Advisory
https://www.cmsimple.org/Product

Products

ProductAffectedPlatform boundSourcesUrl
cmsimple:cmsimple= 5.4nonvd/v1/products/cmsimple/cmsimple

Index

  • Checked, none or zero: repositories, repositories high signal, packages

Exploitation

  • Exploitation seen: yes
  • Public exploit: yes
  • Public exploit count: 1
  • Public exploit first date: 2025-12-23
  • Remote: yes
  • Authentication required: yes
  • Exposed hosts: 153
  • Checked, none or zero: known exploited, known exploited by, initial access
  • Not known: known exploited since, vulncheck known exploited since, nuclei template, initial access since, hackerone reports