{
  "affected": [
    {
      "ranges": [
        {
          "database_specific": {
            "cpe": "cpe:2.3:a:textpattern:textpattern:*:*:*:*:*:*:*:*",
            "extracted_events": [
              {
                "introduced": "0"
              },
              {
                "last_affected": "4.6.2"
              }
            ],
            "source": "CPE_RANGE"
          },
          "events": [
            {
              "introduced": "0"
            },
            {
              "last_affected": "ff45a15e4052eabc3b58b8f23d189455d7f5bdf1"
            }
          ],
          "repo": "https://github.com/textpattern/textpattern",
          "type": "GIT"
        }
      ]
    }
  ],
  "database_specific": {},
  "details": "An issue was discovered in Textpattern CMS 4.6.2 and earlier. It is possible to inject SQL code in the variable \"qty\" on the page index.php.",
  "id": "CVE-2018-7474",
  "modified": "2026-07-08T05:38:34.517229290Z",
  "published": "2018-03-14T14:29:00.250Z",
  "references": [
    {
      "type": "EVIDENCE",
      "url": "http://seclists.org/fulldisclosure/2018/Mar/34"
    },
    {
      "type": "EVIDENCE",
      "url": "https://www.exploit-db.com/exploits/44277/"
    }
  ],
  "severity": [
    {
      "score": "CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H",
      "type": "CVSS_V3"
    }
  ]
}