CVE-2023-25330
CWE-89Published: April 5, 2023· Updated: Jun 17, 2026
Official 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.
Risk Analysis
Mybatis Plus is vulnerable to SQL injection via the tenant ID value, which could allow remote attackers to execute arbitrary SQL commands. The 9.8 CVSS score reflects the critical potential for database manipulation.
No public exploit is known, and it is not in the CISA KEV. The vulnerability is remotely exploitable with low complexity.
Upgrade to Mybatis Plus version 3.5.3.1 or later. Ensure the application is configured according to vendor documentation to prevent SQL injection.
Technical Analysis
CVE-2023-25330 can be exploited remotely over the network without requiring physical or adjacent access, significantly expanding the attack surface for threat actors.
The vulnerability requires no privileges and no user interaction, making it a prime target for automated exploitation campaigns and worm-like propagation.
A successful exploit results in complete confidentiality breach (data exposure), full integrity compromise (data manipulation), availability disruption (denial of service), with a CVSS base score of 9.8.
From a weakness classification perspective (CWE-89): SQL injection vulnerabilities allow attackers to manipulate database queries, potentially exposing or modifying sensitive data.
CVSS v3.1 Vector Breakdown
Affected Vendors & Products
Exploit & PoC Resources
Official Patches & Advisories
All References (4)
Quick Facts
Related CVEs (CWE-89)
Recommended Actions
- →Apply vendor patches immediately
- →Monitor CVE-2023-25330 in threat intel feeds
- →Review IDS/IPS signatures for exploitation attempts