Free and open · new CVEs checked every 20 minutesStatusRSSOpen dataContact

CVE-2022-25517: MyBatis plus v3.4.3 was discovered to contain a SQL injection vulnerability via the Column parameter in /core/

64
This week
CRITICAL 9.8REMOTEDOWNGRADE

CVE-2022-25517 is a critical-severity flaw (CVSS 9.8) affecting mybatis-plus. Below: why it ranks where it does, which versions are affected, what to do, and the exact commands.

MyBatis plus v3.4.3 was discovered to contain a SQL injection vulnerability via the Column parameter in /core/conditions/AbstractWrapper.java. NOTE: the vendor's position is that the reported execution of a SQL statement was intended behavior.

Why this priority

  • Critical severity
  • Public exploit reference
  • Remotely exploitable, no login, no user action

No fix is published yet: follow the downgrade or mitigation steps.

Risk facts

CVSS score9.8 (Critical)
Attack vectorNetwork (remote)
Attack complexityLow
Privileges neededNone
User interactionNone
EPSS exploit chance2.0% (top 20%)
CISA exploited listNo
WeaknessCWE-89
Published2022-03-22
Last modified2026-06-17
Publisher (CNA): MITRE · Vendor: baomidou

Share: LinkedIn · X · Reddit

Last updated 2026-06-17 · Sources: CVE Program, NVD, CISA KEV, EPSS and vendor advisories · How we score

Am I affected?

Timeline

baomidou mybatis-plus DOWNGRADE
Affected: 3.4.3
Fixed in: no fixed release known
Safe to downgrade to: a release before 3.4.3
1. Check installed version
apt-cache policy mybatis-plus || rpm -q mybatis-plus || mybatis-plus --version
2. No fixed release: DOWNGRADE to a release before 3.4.3 (Debian / Ubuntu)
apt-cache madison mybatis-plus sudo apt install mybatis-plus=<VERSION_BEFORE_3.4.3> sudo apt-mark hold mybatis-plus
2. No fixed release: DOWNGRADE (RHEL / Amazon Linux / Fedora)
dnf --showduplicates list mybatis-plus sudo dnf downgrade mybatis-plus-<VERSION_BEFORE_3.4.3> sudo dnf versionlock add mybatis-plus
Downgrade risk
Downgrading can break dependent software and may reopen older bugs. Read the distro advisory first and test on a non-production host.
After downgrade
Restart the service, and keep the package held until a fixed release ships.
Verify at the official source NVD · CVE Program · Report a problem with this page
Scores and fixes here are computed automatically from those and other public sources. Confirm with the vendor advisory before changing production systems.

Quick answers

How do I fix CVE-2022-25517?

mybatis-plus: downgrade or apply the listed mitigation. Exact commands for each OS are on this page.

Is CVE-2022-25517 being exploited?

CVE-2022-25517 is not on the CISA Known Exploited Vulnerabilities list at the time of the last update. Check again, as this can change.

What does CVE-2022-25517 affect?

CVE-2022-25517 affects mybatis-plus. Severity is critical (CVSS 9.8). MyBatis plus v3.4.3 was discovered to contain a SQL injection vulnerability via the Column parameter in /core/conditions/AbstractWrapper.java. NOTE: the vendor's position is that the reported execution of a SQL statement was intended behavi

How urgent is CVE-2022-25517?

Priority 64/100. Critical severity; Public exploit reference; Remotely exploitable, no login, no user action

Software pages

Java vulnerabilities

References

← Back to latest CVEs

Get the weekly exploited-CVE digest by emailThe CVEs being attacked this week and how to fix them. No spam, unsubscribe any time.