{"id":"CVE-2021-47943","state":"PUBLISHED","title":"TextPattern CMS 4.8.7 Remote Code Execution via File Upload","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.","publishedAt":"2026-05-10T12:43:59.549Z","updatedAt":"2026-05-11T15:17:45.607Z","severity":{"score":8.7,"label":"High","version":"4.0","vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N","source":"VulnCheck"},"assigner":"VulnCheck","products":["Textpattern TextPattern CMS"],"affected":[{"vendor":"Textpattern","product":"TextPattern CMS","versions":[{"version":"4.8.7","status":"affected"}]}],"references":["https://www.exploit-db.com/exploits/49996","https://www.exploit-db.com/exploits/50415","https://www.vulncheck.com/advisories/textpattern-cms-remote-code-execution-via-file-upload"],"weaknesses":["CWE-434"],"ingestedAt":"2026-10-29T19:49:19.404Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2021/47xxx/CVE-2021-47943.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2021-47943","state":"PUBLISHED","datePublished":"2026-05-10T12:43:59.549Z","dateUpdated":"2026-05-11T15:17:45.607Z","assignerShortName":"VulnCheck","assignerOrgId":"83251b91-4cc7-4094-a5c7-464a1b83ea10","dateReserved":"2026-02-01T11:24:18.718Z"},"containers":{"cna":{"title":"TextPattern CMS 4.8.7 Remote Code Execution via File Upload","descriptions":[{"lang":"en","value":"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":[{"vendor":"Textpattern","product":"TextPattern CMS","versions":[{"version":"4.8.7","status":"affected"}]}],"references":[{"url":"https://www.exploit-db.com/exploits/49996","name":"ExploitDB-49996","tags":["exploit"]},{"url":"https://www.exploit-db.com/exploits/50415","name":"ExploitDB-50415","tags":["exploit"]},{"url":"https://www.vulncheck.com/advisories/textpattern-cms-remote-code-execution-via-file-upload","name":"VulnCheck Advisory: TextPattern CMS 4.8.7 Remote Code Execution via File Upload","tags":["third-party-advisory"]}],"metrics":[{"cvssV4_0":{"Automatable":"NOT_DEFINED","Recovery":"NOT_DEFINED","Safety":"NOT_DEFINED","attackComplexity":"LOW","attackRequirements":"NONE","attackVector":"NETWORK","baseScore":8.7,"baseSeverity":"HIGH","exploitMaturity":"NOT_DEFINED","privilegesRequired":"LOW","providerUrgency":"NOT_DEFINED","subAvailabilityImpact":"NONE","subConfidentialityImpact":"NONE","subIntegrityImpact":"NONE","userInteraction":"NONE","valueDensity":"NOT_DEFINED","vectorString":"CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N","version":"4.0","vulnAvailabilityImpact":"HIGH","vulnConfidentialityImpact":"HIGH","vulnIntegrityImpact":"HIGH","vulnerabilityResponseEffort":"NOT_DEFINED"},"format":"CVSS"},{"cvssV3_1":{"attackComplexity":"LOW","attackVector":"NETWORK","availabilityImpact":"HIGH","baseScore":8.8,"baseSeverity":"HIGH","confidentialityImpact":"HIGH","integrityImpact":"HIGH","privilegesRequired":"LOW","scope":"UNCHANGED","userInteraction":"NONE","vectorString":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","version":"3.1"},"format":"CVSS"}],"problemTypes":[{"descriptions":[{"cweId":"CWE-434","lang":"en","description":"Unrestricted Upload of File with Dangerous Type","type":"CWE"}]}],"providerMetadata":{"shortName":"VulnCheck","orgId":"83251b91-4cc7-4094-a5c7-464a1b83ea10","dateUpdated":"2026-05-10T12:43:59.549Z"},"cpeApplicability":[{"nodes":[{"operator":"OR","negate":false,"cpeMatch":[{"vulnerable":true,"criteria":"cpe:2.3:a:textpattern:textpattern:4.8.7:-:*:*:*:*:*:*"}]}]}],"credits":[{"lang":"en","value":"Mert Daş merterpreter@gmail.com","type":"finder"}],"x_generator":{"engine":"vulncheck"}},"adp":[{"title":"CISA ADP Vulnrichment","metrics":[{"other":{"type":"ssvc","content":{"timestamp":"2026-05-11T15:17:34.109986Z","id":"CVE-2021-47943","options":[{"Exploitation":"poc"},{"Automatable":"no"},{"Technical Impact":"total"}],"role":"CISA Coordinator","version":"2.0.3"}}}],"providerMetadata":{"shortName":"CISA-ADP","orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","dateUpdated":"2026-05-11T15:17:45.607Z"}}]}}}