CRITICAL 9.8

CVE-2023-25330

MyBatis-Plus vulnerable to SQL injection via TenantPlugin

Description

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 Maven artifacts (1)

ArtifactAffected versionsFixed in
com.baomidou » mybatis-plus
< 3.5.3.1
3.5.3.1

Blast radius

1affected artifacts
110affected versions
2,720dependent artifacts (est.)
25,086dependent versions

70% of the dependent artifacts (1,917) still pull an affected version in their latest release.

DepthDependent versions
Direct
2,533
2 hops
9,240
3 hops
6,442
4 hops
4,098
5 hops
1,661
6 hops
1,112

Most used dependents

Computed from the dependency graph of build 20261129.0021 (compile and runtime scopes, nearest version wins). Exclusions and dependency management in consuming projects are not applied, so dependents are potentially affected. When several artifacts are affected, a dependent version that pulls more than one of them is counted once per artifact.