CVE-2023-25330
JSON

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 packageVersionsReported by
Unspecified productn/aCVE List
com.baomidou:mybatis-plus (Maven)before 3.5.3.1GitHub Advisory Database
mybatis mybatisbefore 3.5.3.1NVD

All scores

GitHub9.8critical CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
NVD9.8critical CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

Classification

CWE-89

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

SourceRecordLicence
CVE ListCVE-2023-25330 changed 2024-08-02CVE Terms of Use
GitHub Advisory DatabaseGHSA-32qq-m9fh-f74w changed 2024-06-03CC-BY-4.0
NVDCVE-2023-25330 changed 2026-06-17Public domain