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.
Remediation
References
https://baomidou.com/reference/about-cve/
https://github.com/FCncdn/MybatisPlusTenantPluginSQLInjection-POC/blob/master/Readme.en.md
Related Vulnerabilities
CVE-2018-3738 Vulnerability in npm package protobufjs
CVE-2016-0792 Vulnerability in maven package org.jenkins-ci.main:jenkins-core
CVE-2018-20094 Vulnerability in maven package com.xuxueli:xxl-conf
CVE-2019-1010260 Vulnerability in maven package com.github.shyiko:ktlint
CVE-2022-1291 Vulnerability in npm package tableexport.jquery.plugin