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.
Does this matter?
2 public exploits are published in Exploit-DB and the impact is high, while EPSS rates exploitation at 3.7%. Anyone can run this; patch or mitigate before the next change window and check exposed instances for signs of use.
Description
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.
- CVSS 4.0
- 8.7 HIGHCVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/M
- EPSS
- 3.67% probability · 90th percentile
- Public exploits
- 2 in Exploit-DB · first 14 June 2021
- CISA KEV
- Not listed
- Weakness
- CWE-434: Unrestricted upload of file with dangerous type
- Source
- disclosure@vulncheck.com
In plain terms
It can be reached over a network, but only by someone who already has an account, so stolen or shared credentials are the usual way in.
- Reached from
- Over a network. If the affected system can be reached from the internet, so can the flaw.
- Effort
- Nothing special has to be got round first.
- Login needed
- An ordinary user account.
- Someone else involved
- No. Nobody has to click, open or approve anything.
- At risk on the affected system
- Reading data: serious. Changing data: serious. Stopping the service: serious.
Read from the CVSS 4.0 vector above. It describes the flaw itself, not how your own systems are set up.
The first public exploit in Exploit-DB is dated 14 June 2021, about 5 years before the record was published.
EPSS moved from 2.0% on 24 November 2026 to 3.7% on 30 November 2026.
Public exploits (2)
Entries in Exploit-DB that cite this CVE. Links go to the Exploit-DB page and to the file in the public repository; nothing is hosted here. A verified tick means the Exploit-DB team confirmed the exploit works against the stated version.
Where to go from here
One vulnerability is rarely the whole question. These are free, and none of them asks for an account.
By email
Our briefing by email: what changed, what to patch and what it means for a UK organisation. Written for the people who have to act on it.
References
Source: NVD record, EPSS from FIRST.org, KEV from CISA, exploits from Exploit-DB. Refreshed daily. Download this record as JSON.