{
  "affected": [
    {
      "ranges": [
        {
          "database_specific": {
            "versions": [
              {
                "introduced": "0"
              },
              {
                "last_affected": "3.4.3"
              }
            ]
          },
          "events": [
            {
              "introduced": "0"
            },
            {
              "last_affected": "7bef4408d5e9b94f461089679310bc628425851f"
            }
          ],
          "repo": "https://github.com/baomidou/mybatis-plus",
          "type": "GIT"
        }
      ]
    }
  ],
  "details": "MyBatis plus v3.4.3 was discovered to contain a SQL injection vulnerability via the Column parameter in /core/conditions/AbstractWrapper.java. NOTE: the vendor's position is that the reported execution of a SQL statement was intended behavior.",
  "id": "CVE-2022-25517",
  "modified": "2026-03-13T21:49:37.618227991Z",
  "published": "2022-03-22T19:15:07.693Z",
  "references": [
    {
      "type": "REPORT",
      "url": "https://github.com/baomidou/mybatis-plus/issues/4407"
    },
    {
      "type": "EVIDENCE",
      "url": "https://github.com/HaHarden/mybatis-plus-sql-Injection"
    }
  ],
  "severity": [
    {
      "score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H",
      "type": "CVSS_V3"
    }
  ]
}