{"cve":"CVE-2023-25330","nvd":{"published":"2023-04-05T14:15:07.480","modified":"2026-06-17T05:41:06.213","status":"Modified","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.","cvss_v4":null,"cvss_v3":{"version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","score":9.8},"cwes":["CWE-89"],"references":["https://baomidou.com/reference/about-cve/","https://github.com/FCncdn/MybatisPlusTenantPluginSQLInjection-POC/blob/master/Readme.en.md","https://baomidou.com/reference/about-cve/","https://github.com/FCncdn/MybatisPlusTenantPluginSQLInjection-POC/blob/master/Readme.en.md"],"products":["mybatis:mybatis"],"source":"nvd","synced_at":"2026-10-19T21:37:48.383111019+00:00"},"epss":{"cve":"CVE-2023-25330","score":0.0121,"percentile":0.6845,"date":"2026-11-01"},"kev":null,"osv":[{"id":"GHSA-32qq-m9fh-f74w","url":"https://osv.dev/vulnerability/GHSA-32qq-m9fh-f74w","summary":"MyBatis-Plus vulnerable to SQL injection via TenantPlugin","modified":"2024-06-03T18:48:01.615780Z","packages":[{"ecosystem":"Maven","name":"com.baomidou:mybatis-plus","purl":"pkg:maven/com.baomidou/mybatis-plus","ranges":["<3.5.3.1"],"fixed":["3.5.3.1"]}]}],"attribution":["This product uses the NVD API but is not endorsed or certified by the NVD.","EPSS scores: FIRST Exploit Prediction Scoring System, https://www.first.org/epss","Known exploited vulnerabilities: CISA Known Exploited Vulnerabilities Catalog, https://www.cisa.gov/known-exploited-vulnerabilities-catalog","Package advisories: OSV (https://osv.dev), from the GitHub Advisory Database, PyPA, Go, RustSec and other ecosystem databases, under CC-BY 4.0 or CC0","CVE records: the CVE Program's CVE List (https://www.cve.org), under its terms of use (https://www.cve.org/Legal/TermsOfUse). CVE is a registered trademark of The MITRE Corporation; this product is not affiliated with the CVE Program."]}