SecurityContext

CVE-2022-28111: MyBatis PageHelper - SQL Injection

  • Cve: CVE-2022-28111
  • Name: MyBatis PageHelper - SQL Injection
  • Description: 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.
  • Impact: Attackers can execute arbitrary SQL commands, potentially leading to data leakage, modification, or deletion.
  • Remediation: Update to the latest version where the vulnerability is fixed or apply security patches to sanitize the orderBy parameter.
  • Vulnerability type: sql_injection
  • Vulnerability impact: information_disclosure, data_tampering
  • Requirement type: none
  • Labels source: projectdiscovery
  • Severity: critical
  • Cvss score: 9.8
  • Cvss vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
  • Epss score: 0.01731
  • Epss percentile: 0.78211
  • Assignee: [email protected]
  • Published at: 2022-05-04T13:15:08Z
  • Age in days: 1665
  • Modified at: 2026-06-17T04:38:00Z
  • Public exploits total: 2
  • References total: 6
  • Products total: 1
  • Oss: yes
  • Projects total: 1
  • Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2022-28111
  • Nvd status: modified
  • Checked, none or zero: patch available, known exploited entries, nuclei templates, public exploits capped, rejected by nvd
  • Not known: requirements, hackerone

Cwe

IdName
CWE-89Improper Neutralization of Special Elements used in an SQL Command

Public exploits

UrlSourceAdded date
https://github.com/yangfar/CVE/blob/main/CVE-2022-42227.mdnvd2022-05-04
https://www.cnblogs.com/secload/articles/16061420.htmlnvd2022-05-04

References

Same in every row:

  • Source: nvd
UrlTags
https://github.com/yangfar/CVE/blob/main/CVE-2022-42227.mdExploit, Third Party Advisory
https://www.cnblogs.com/secload/articles/16061420.htmlExploit, Third Party Advisory
https://github.com/pagehelper/Mybatis-PageHelperProduct, Third Party Advisory
https://github.com/pagehelper/Mybatis-PageHelper.gitProduct, Third Party Advisory
https://github.com/pagehelper/Mybatis-PageHelper/issues/674Third Party Advisory
https://pagehelper.github.io/Product, Third Party Advisory

Products

ProductAffectedPlatform boundSourcesUrl
pagehelper_project:pagehelper>= 5.1.0, <= 5.3.0; >= 4.0.0, <= 5.0.0; >= 1.0, <= 3.7.0nonvd/v1/products/pagehelper_project/pagehelper

Projects

RepositoryLink kindsIndexedUrl
pagehelper/mybatis-pagehelpercommit, issues, packageyes/v1/repositories/pagehelper/mybatis-pagehelper

Index

  • Repositories: 32
  • Repositories high signal: 24
  • Packages: 1

Exploitation

  • Public exploit: yes
  • Public exploit count: 2
  • Public exploit first date: 2022-05-04
  • Remote: yes
  • Checked, none or zero: known exploited, known exploited by, exploitation seen, initial access, authentication required
  • Not known: known exploited since, vulncheck known exploited since, nuclei template, initial access since, hackerone reports, exposed hosts