{
  "affected": [
    {
      "ranges": [
        {
          "database_specific": {
            "cpe": "cpe:2.3:a:formtools:core:*:*:*:*:*:*:*:*",
            "extracted_events": [
              {
                "introduced": "0"
              },
              {
                "last_affected": "3.0.20"
              }
            ],
            "source": "CPE_RANGE"
          },
          "events": [
            {
              "introduced": "0"
            },
            {
              "last_affected": "051a533bdbfed367e9c6cac19a834d79b490377e"
            }
          ],
          "repo": "https://github.com/formtools/core",
          "type": "GIT"
        }
      ]
    }
  ],
  "database_specific": {},
  "details": "An issue was discovered in Form Tools through 3.0.20. SQL Injection can occur via the export_group_id field when a low-privileged user (client) tries to export a form with data, e.g., manipulation of modules/export_manager/export.php?export_group_id=1\u0026export_group_1_results=all\u0026export_type_id=1.",
  "id": "CVE-2021-38145",
  "modified": "2026-07-08T05:36:14.910800153Z",
  "published": "2021-08-31T05:15:06.697Z",
  "references": [
    {
      "type": "ADVISORY",
      "url": "https://github.com/formtools/core/"
    },
    {
      "type": "ADVISORY",
      "url": "https://www.formtools.org/"
    },
    {
      "type": "EVIDENCE",
      "url": "https://bernardofsr.github.io/blog/2021/form-tools/"
    },
    {
      "type": "EVIDENCE",
      "url": "https://github.com/bernardofsr/CVEs-With-PoC/blob/main/PoCs/Form%20Tools/README.md"
    }
  ],
  "severity": [
    {
      "score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H",
      "type": "CVSS_V3"
    }
  ]
}