{"id":"CVE-2021-44082","details":"textpattern 4.8.7 is vulnerable to Cross Site Scripting (XSS) via /textpattern/index.php,Body. A remote and unauthenticated attacker can use XSS to trigger remote code execution by uploading a webshell. To do so they must first steal the CSRF token before submitting a file upload request.","modified":"2026-04-10T04:41:15.074386Z","published":"2022-03-29T23:15:07.723Z","references":[{"type":"WEB","url":"https://www.cornerpirate.com"},{"type":"ADVISORY","url":"https://www.pentest.co.uk"},{"type":"EVIDENCE","url":"https://pentest.co.uk/labs/leveraging-xss-to-get-rce-in-textpattern/"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/textpattern/textpattern","events":[{"introduced":"0"},{"last_affected":"8531fe45f8eb39d0497b265c18260af11beb361e"}],"database_specific":{"versions":[{"introduced":"0"},{"last_affected":"4.8.7"}]}}],"versions":["4.2.0","4.3.0","4.4.0","4.4.1","4.5.0","4.5.1","4.5.2","4.6.0","4.6.0-beta","4.6.0-beta.2","4.6.0-beta.3","4.7.0","4.7.0-beta","4.7.0-beta.2","4.7.0-beta.3","4.7.0-rc.1","4.7.2","4.8.0-beta.2","4.8.1","4.8.2","4.8.3","4.8.4","4.8.5","4.8.6","4.8.7"],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2021-44082.json"}}],"schema_version":"1.7.5","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:C/C:H/I:H/A:H"}]}