Security mailing lists by PureSourceCode

CVE-2023-25330

CRITICAL 9.8CVSS 3.1

MyBatis-Plus vulnerable to SQL injection via TenantPlugin

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.

Published
5 Apr 2023
Last modified
17 Jun 2026
Assigned by
cve@mitre.org
NVD status
Modified
Weakness
CWE-89
Also known as
GHSA-32qq-m9fh-f74w
Sources
NVDJSONOSV GHSA-32qq-m9fh-f74wJSON

Scores

SourceScored byVersionScoreVector / decision
NVD nvd@nist.gov (Primary) CVSS 3.1 CRITICAL 9.8 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
OSV GitHub CVSS 3.1 CRITICAL 9.8 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

Affected

SourceVendor / ecosystemProduct / packageAffected versionsFixed in
NVD mybatis mybatis
cpe:2.3:a:mybatis:mybatis:*:*:*:*:*:*:*:*
< 3.5.3.1 3.5.3.1
OSV Maven com.baomidou:mybatis-plus < 3.5.3.1 3.5.3.1

References

History

  • 25 Nov 2026 20:36 UTC · NVD: first stored (published 5 Apr 2023)
  • 25 Nov 2026 20:12 UTC · OSV: first stored (published 5 Apr 2023)
An unhandled error has occurred. Reload ×

Rejoining the server...

Rejoin failed... trying again in seconds.

Failed to rejoin.
Please retry or reload the page.

The session has been paused by the server.

Failed to resume the session.
Please retry or reload the page.