What’s Vulnerable › Vulnerabilities
CVE-2023-25330
- Severity: critical (CVSS 9.8 v3.1)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 1.2% probability of exploitation in the next 30 days
- Public exploit or detection template: yes
- Published: 2023-04-05 · updated 2026-06-17
- Weakness: CWE-89
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 products
- Mybatis: before 3.5.3.1 — fixed in 3.5.3.1
How to fix
Upgrade to a fixed version: Mybatis 3.5.3.1. Check the vendor advisory for mitigations.
References
- https://baomidou.com/reference/about-cve/
- https://github.com/FCncdn/MybatisPlusTenantPluginSQLInjection-POC/blob/master/Readme.en.md
- https://baomidou.com/reference/about-cve/
- https://github.com/FCncdn/MybatisPlusTenantPluginSQLInjection-POC/blob/master/Readme.en.md
Get alerted when CVE-2023-25330 or the next vulnerability affects your stack