# CVE-2021-47976: TextPattern CMS 4.9.0-dev Authenticated Remote Code Execution via Plugin Upload

- Severity: High 8.7 (CVSS:4.0, scored by VulnCheck) `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`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.96%, higher than 62% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2026-05-16T15:26:16.409Z
- Modified: 2026-06-17T04:18:51.847Z
- Weaknesses: CWE-352
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact total
- Assigned by: VulnCheck

## Description

TextPattern CMS 4.9.0-dev contains a remote code execution vulnerability that allows authenticated attackers to upload arbitrary PHP files by exploiting the plugin upload functionality. Attackers can authenticate, retrieve a CSRF token from the plugin event page, and upload malicious PHP files to the textpattern/tmp/ directory for code execution.

(As written by CVE List.)

## Affected

- Textpattern TextPattern CMS: 4.9.0-dev

## Every score

- VulnCheck: CVSS:4.0 8.7 High `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`
- VulnCheck: CVSS:3.1 8.8 High `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`

## References

- <https://www.exploit-db.com/exploits/50095> (exploit)
- <https://textpattern.com/> (product)
- <https://github.com/textpattern/textpattern> (product)
- <https://www.vulncheck.com/advisories/textpattern-cms-dev-authenticated-remote-code-execution-via-plugin-upload> (third-party-advisory)

## Sources

- CVE List: [CVE-2021-47976](https://www.cve.org/CVERecord?id=CVE-2021-47976), CVE Terms of Use, modified 2026-05-18
- NVD: [CVE-2021-47976](https://nvd.nist.gov/vuln/detail/CVE-2021-47976), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2021-47976 · Whole record: https://cve.day/CVE-2021-47976.json · Rebuilt by cve.day 2026-11-25T22:58:09.111Z
