Advisory Database
  • Advisories
  • Dependency Scanning
  1. maven
  2. ›
  3. com.github.pagehelper/pagehelper
  4. ›
  5. CVE-2022-28111

CVE-2022-28111: Improper Neutralization of Special Elements used in an SQL Command ('SQL Injection')

May 5, 2022 (updated October 20, 2022)

MyBatis PageHelper v1.x.x-v3.7.0 v4.0.0-v5.0.0,v5.1.0-v5.3.0 was discovered to contain a time-blind SQL injection vulnerability via the orderBy parameter.

References

  • github.com/advisories/GHSA-w559-623p-vfg8
  • github.com/pagehelper/Mybatis-PageHelper
  • github.com/pagehelper/Mybatis-PageHelper.git
  • github.com/pagehelper/Mybatis-PageHelper/commit/554a524af2d2b30d09505516adc412468a84d8fa
  • github.com/pagehelper/Mybatis-PageHelper/issues/674
  • github.com/yangfar/CVE/blob/main/CVE-2022-42227.md
  • nvd.nist.gov/vuln/detail/CVE-2022-28111
  • pagehelper.github.io/
  • www.cnblogs.com/secload/articles/16061420.html

Code Behaviors & Features

Detect and mitigate CVE-2022-28111 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions starting from 3.5.0 before 5.3.1

Fixed versions

  • 5.3.1

Solution

Upgrade to version 5.3.1 or above.

Impact 9.8 CRITICAL

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

Learn more about CVSS

Weakness

  • CWE-89: Improper Neutralization of Special Elements used in an SQL Command ('SQL Injection')

Source file

maven/com.github.pagehelper/pagehelper/CVE-2022-28111.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Wed, 14 May 2025 12:15:48 +0000.