Arbitrary file upload in Textpattern Cms
CVE-2021-47943
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.
Vulnerability class: Unrestricted File Upload
Published · last modified .
CVSS v3 metric
CVSS v3 base score 8.8 (High). Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H.
EPSS exploit prediction
EPSS: 0.006 (47.5th percentile), scored .
Very low probability of exploitation in the next 30 days; routine patching cadence is appropriate. 47th percentile — 47.5% of CVEs in the catalogue have a lower EPSS than this one. How to read EPSS.
EPSS over last 30 days · oldest: 0.006 · newest: 0.006 · change: 0.000
Affected products
- Textpattern Cms — versions 4.8.7
Weakness classification (CWE)
References
- www.exploit-db.com/exploits/49996 (exploit)
- www.exploit-db.com/exploits/50415 (exploit)
- www.vulncheck.com/advisories/textpattern-cms-remote-code-execution-via-file-upl… (third-party-advisory)
Frequently asked questions
- What is CVE-2021-47943?
- CVE-2021-47943 is a high-severity vulnerability in Textpattern Cms, classified under Unrestricted Upload of File with Dangerous Type. CVSS score: 8.8/10. Published 2026-05-10.
- How severe is CVE-2021-47943?
- High severity. CVSS v3 base score is 8.8 out of 10.