{
  "affected": [
    {
      "ranges": [
        {
          "database_specific": {
            "versions": [
              {
                "introduced": "0"
              },
              {
                "last_affected": "4.8.7"
              }
            ]
          },
          "events": [
            {
              "introduced": "0"
            },
            {
              "last_affected": "8531fe45f8eb39d0497b265c18260af11beb361e"
            }
          ],
          "repo": "https://github.com/textpattern/textpattern",
          "type": "GIT"
        }
      ]
    }
  ],
  "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.",
  "id": "CVE-2021-44082",
  "modified": "2026-03-13T21:53:48.609871297Z",
  "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/"
    }
  ],
  "severity": [
    {
      "score": "CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:C/C:H/I:H/A:H",
      "type": "CVSS_V3"
    }
  ]
}