CVE-2022-28111 json
MyBatis PageHelper vulnerable to time-blind SQL injection via orderBy parameter
published 2022-05-04 4 y ago modified 2026-06-17 4 mo ago also GHSA-w559-623p-vfg8 , EUVD-2022-5500
- cvss
- 9.8
- version 3.1, NVD
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 1.7%
- EPSS 1.7% chance of exploitation in 30 days, percentile 77%
- public exploits
- 0
- none known
Summary
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.
Patch / fix
- maven com.github.pagehelper:pagehelper 5.3.1
Exploit prediction
1.73% chance of exploitation in the next 30 days, higher than 77% of all scored CVEs (FIRST EPSS, 2026-11-08).
Exploits and checks
- cnblogs.com https://www.cnblogs.com/secload/articles/16061420.html referenced PoC, tagged "exploit" by a source, unverified
- github.com https://github.com/yangfar/CVE/blob/main/CVE-2022-42227.md referenced PoC, tagged "exploit" by a source, unverified
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| NVD | 3.1 | 9.8 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
| NVD | 2.0 | 7.5 | AV:N/AC:L/Au:N/C:P/I:P/A:P |
| GitHub | 3.1 | 9.8 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| maven | com.github.pagehelper:pagehelper | >=3.5.0, <5.3.1 |
5.3.1 |
Classification
- Weakness
-
- CWE-89 Improper Neutralization of Special Elements used in an SQL Command
References
-
github.com
/pagehelper/Mybatis-PageHelper/commit/554a524af2d2b30d09505516adc412468a84d8fa
web
-
cnblogs.com
/secload/articles/16061420.html
web, exploit, third-party-advisory
-
github.com
/yangfar/CVE/blob/main/CVE-2022-42227.md
web, exploit, third-party-advisory
-
pagehelper.github.io
/
product, third-party-advisory
-
github.com
/pagehelper/Mybatis-PageHelper
package, product, third-party-advisory
-
github.com
/pagehelper/Mybatis-PageHelper.git
web, product, third-party-advisory
-
github.com
/pagehelper/Mybatis-PageHelper/issues/674
web, third-party-advisory
-
nvd.nist.gov
/vuln/detail/CVE-2022-28111
advisory
-
pagehelper.github.io
web
Sources
- CVE List CVE-2022-28111
- GitHub Advisory GHSA-w559-623p-vfg8
- NVD CVE-2022-28111
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.