critical9.8
CVE-2023-25330
MyBatis-Plus vulnerable to SQL injection via TenantPlugin
Impact
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.
Affected packages
| Ecosystem | Package | Affected | Fixed in |
|---|---|---|---|
| maven | com.baomidou:mybatis-plus | < 3.5.3.1 | 3.5.3.1 |
Affected products
| Vendor | Product | Affected versions |
|---|---|---|
| Mybatis | Mybatis | before 3.5.3.1 |
Weakness classification
References
- NVD record
- CVE.org record
- GitHub advisory
- https://baomidou.com/reference/about-cve/
- https://github.com/FCncdn/MybatisPlusTenantPluginSQLInjection-POC/blob/master/Readme.en.md
- https://github.com/advisories/GHSA-32qq-m9fh-f74w
- https://nvd.nist.gov/vuln/detail/CVE-2023-25330
- https://baomidou.com/reference/about-cve