{"id":"CVE-2021-47943","published":"2026-05-10T12:43:59Z","modified":"2026-05-11T15:17:45Z","title":"TextPattern CMS 4.8.7 Remote Code Execution via File Upload","vendor":"Textpattern","product":"TextPattern CMS","tier":"tail","description":{"text":"TextPattern CMS 4.8.7 contains a remote code execution vulnerability that allows authenticated attackers to execute arbitrary commands by uploading malicious PHP files through the file upload functionality. Attackers can upload a PHP shell via the Files section in the content area and execute commands by accessing the uploaded file at /textpattern/files/ with GET parameters passed to the system function.","provenance":"source","from":"CVE.org"},"cvss":{"score":8.8,"severity":"HIGH","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.03666,"percentile":0.90404,"provenance":"source"},"cwes":[{"id":"CWE-434","name":"Unrestricted Upload of File with Dangerous Type"}],"references":[{"url":"https://www.exploit-db.com/exploits/49996","tags":["exploit"]},{"url":"https://www.exploit-db.com/exploits/50415","tags":["exploit"]},{"url":"https://www.vulncheck.com/advisories/textpattern-cms-remote-code-execution-via-file-upload","tags":["third-party-advisory"]}],"priority":{"score":29.2,"factors":[{"name":"EPSS percentile","points":18.08},{"name":"Public exploit code","points":5.0},{"name":"CVSS severity","points":6.16}]},"exploitSources":{"exploitdb":{"count":2,"earliest":"2021-06-14"},"first":{"date":"2021-06-14","source":"Exploit-DB","url":"https://www.exploit-db.com/exploits/49996"},"provenance":"source"},"vendorSlug":"textpattern","affectedVersions":[{"vendor":"Textpattern","product":"TextPattern CMS","versions":["4.8.7"]}],"ssvc":{"exploitation":"poc","automatable":"no","technicalImpact":"total","timestamp":"2026-05-11T15:17:34.109986Z","from":"CISA ADP","provenance":"source"},"euvd":{"id":"EUVD-2021-34803","exploited":false,"provenance":"source"},"exploits":[{"id":49996,"url":"https://www.exploit-db.com/exploits/49996","title":"Textpattern CMS 4.8.7 - Authenticated Remote Command Execution","date":"2021-06-14","verified":false,"provenance":"source"},{"id":50415,"url":"https://www.exploit-db.com/exploits/50415","title":"Textpattern CMS 4.8.7 - Authenticated Remote Command Execution (RCE)","date":"2021-10-14","verified":false,"provenance":"source"}],"exploitRefs":["https://www.exploit-db.com/exploits/49996","https://www.exploit-db.com/exploits/50415"]}