CSRF in Textpattern Cms
CVE-2021-47976
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.
Vulnerability class: CSRF (Cross-Site Request Forgery)
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.003 (21.9th percentile), scored .
Very low probability of exploitation in the next 30 days; routine patching cadence is appropriate. 22nd percentile — 21.9% of CVEs in the catalogue have a lower EPSS than this one. How to read EPSS.
EPSS over last 30 days · oldest: 0.003 · newest: 0.003 · change: 0.000
Affected products
- Textpattern Cms — versions 4.9.0-dev
Weakness classification (CWE)
References
- www.exploit-db.com/exploits/50095 (exploit)
- textpattern.com/ (product)
- github.com/textpattern/textpattern (product)
- www.vulncheck.com/advisories/textpattern-cms-dev-authenticated-remote-code-exec… (third-party-advisory)
Frequently asked questions
- What is CVE-2021-47976?
- CVE-2021-47976 is a high-severity vulnerability in Textpattern Cms, classified under Cross-Site Request Forgery (CSRF). CVSS score: 8.8/10. Published 2026-05-16.
- How severe is CVE-2021-47976?
- High severity. CVSS v3 base score is 8.8 out of 10.