9.8critical
MyBatis-Plus vulnerable to SQL injection via TenantPlugin
- Severity
- 9.8critical CVSS:3.1 by NVD
- Exploit likelihood
- 1.21% (higher than 69% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- mitre
- Also known as
- GHSA-32qq-m9fh-f74w
Description
A SQL injection vulnerability in Mybatis plus below 3.5.3.1 allows remote attackers to execute arbitrary SQL commands via the tenant ID valuer. NOTE: the vendor's position is that this can only occur in a misconfigured application; the documentation discusses how to develop applications that avoid SQL injection.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| Unspecified product | n/a | CVE List |
| com.baomidou:mybatis-plus (Maven) | before 3.5.3.1 | GitHub Advisory Database |
| mybatis mybatis | before 3.5.3.1 | NVD |
All scores
| GitHub | 9.8critical CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
| NVD | 9.8critical CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
Classification
SSVC (CISA-ADP): exploitation poc, automatable yes, technical impact total.
What each source says
CVE List
A SQL injection vulnerability in Mybatis plus below 3.5.3.1 allows remote attackers to execute arbitrary SQL commands via the tenant ID valuer. NOTE: the vendor's position is that this can only occur in a misconfigured application; the documentation discusses how to develop applications that avoid SQL injection.
GitHub Advisory Database
MyBatis-Plus below 3.5.3.1 is vulnerable to SQL injection via the tenant ID value. This may allow remote attackers to execute arbitrary SQL commands.
References
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2023-25330 changed 2024-08-02 | CVE Terms of Use |
| GitHub Advisory Database | GHSA-32qq-m9fh-f74w changed 2024-06-03 | CC-BY-4.0 |
| NVD | CVE-2023-25330 changed 2026-06-17 | Public domain |