CVE-2021-47943: TextPattern CMS 4.8.7 Remote Code Execution via File Upload

Published May 10, 2026
·
Updated

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.

Affected Software

1 affected component
Textpattern Textpattern CMS=4.8.7

Event History

May 10, 2026
CVE Published
via MITRE·12:43 PM
Data Sourced
via MITRE·12:43 PM
DescriptionSeverityWeakness
Data Sourced
via NVD·01:16 PM
DescriptionSeverityWeakness

Frequently Asked Questions

1

What is the severity of CVE-2021-47943?

CVE-2021-47943 is classified as a critical severity vulnerability due to its potential for remote code execution.

2

How do I fix CVE-2021-47943?

To fix CVE-2021-47943, upgrade TextPattern CMS to the latest version beyond 4.8.7 and ensure proper validation of file uploads.

3

Who is affected by CVE-2021-47943?

CVE-2021-47943 affects users of TextPattern CMS version 4.8.7.

4

What type of attack does CVE-2021-47943 enable?

CVE-2021-47943 enables authenticated attackers to execute arbitrary commands on the server via malicious PHP file uploads.

5

Is there a workaround for CVE-2021-47943?

A temporary workaround for CVE-2021-47943 includes disabling file uploads or implementing strict file type checks until the CMS is updated.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203