CVE-2023-25330
MyBatis-Plus vulnerable to SQL injection via TenantPlugin
Severity by source
Trivy's own label is CRITICAL. Rated critical by NVD, GHSA.
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 packages and fixed versions
| Source | Package | Fixed in |
|---|---|---|
| maven::GitHub Security Advisory Maven | com.baomidou:mybatis-plus | 3.5.3.1 |