SecurityContext

CVE-2021-47976: TextPattern CMS - Remote Code Execution

  • Cve: CVE-2021-47976
  • Name: TextPattern CMS - Remote Code Execution
  • Description: TextPattern CMS 4.9.0-dev contains a remote code execution vulnerability that allows authenticated attackers to upload arbitrary PHP files by exploiting the plugin upload functionality. Attackers can authenticate, retrieve a CSRF token from the plugin event page, and upload malicious PHP files to the textpattern/tmp/ directory for code execution.
  • Impact: Authenticated attackers can execute arbitrary PHP code remotely, potentially leading to full system compromise.
  • Remediation: Update to the latest version with fixed plugin upload validation.
  • Vulnerability type: unrestricted_file_upload
  • Vulnerability impact: remote_code_execution
  • Requirement type: logged_in
  • Requirements: Attacker needs to be authenticated and obtain a 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.0096
  • Epss percentile: 0.62249
  • Assignee: [email protected]
  • Published at: 2026-05-16T16:16:23Z
  • Age in days: 192
  • Modified at: 2026-06-17T04:18:51Z
  • References total: 4
  • Products total: 1
  • Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2021-47976
  • Nvd status: deferred
  • Checked, none or zero: patch available, known exploited entries, nuclei templates, public exploits total, public exploits capped, public exploits, oss, projects total, projects, rejected by nvd
  • Not known: hackerone

Cwe

IdName
CWE-352Cross-Site Request Forgery

References

Same in every row:

  • Source: nvd
  • Tags:
Url
https://github.com/textpattern/textpattern
https://textpattern.com/
https://www.exploit-db.com/exploits/50095
https://www.vulncheck.com/advisories/textpattern-cms-dev-authenticated-remote-code-execution-via-plugin-upload

Products

ProductAffectedPlatform boundSourcesUrl
textpattern:textpattern= 4.9.0, = 4.9.0 beta, = 4.9.0 beta1, = 4.9.0 beta1a, = 4.9.0 beta2, = 4.9.0-devnocna/v1/products/textpattern/textpattern

Index

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

Exploitation

  • Exploitation seen: yes
  • Remote: yes
  • Authentication required: yes
  • Checked, none or zero: known exploited, known exploited by, public exploit, public exploit count, initial access
  • Not known: known exploited since, vulncheck known exploited since, public exploit first date, nuclei template, initial access since, hackerone reports, exposed hosts