CVE-2022-28111
CRITICAL 9.8CVSS 3.1MyBatis PageHelper vulnerable to time-blind SQL injection via orderBy parameter
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.
- Published
- 4 May 2022
- Last modified
- 17 Jun 2026
- Assigned by
- cve@mitre.org
- NVD status
- Modified
- Weakness
- CWE-89
- Also known as
- GHSA-w559-623p-vfg8
- Sources
- NVDJSONOSV GHSA-w559-623p-vfg8JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | nvd@nist.gov (Primary) | CVSS 3.1 | CRITICAL 9.8 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
| OSV | GitHub | CVSS 3.1 | CRITICAL 9.8 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
| NVD | nvd@nist.gov (Primary) | CVSS 2.0 | HIGH 7.5 | AV:N/AC:L/Au:N/C:P/I:P/A:P |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | pagehelper_project | pagehelpercpe:2.3:a:pagehelper_project:pagehelper:*:*:*:*:*:*:*:* |
>= 1.0, <= 3.7.0 | |
| NVD | pagehelper_project | pagehelpercpe:2.3:a:pagehelper_project:pagehelper:*:*:*:*:*:*:*:* |
>= 4.0.0, <= 5.0.0 | |
| NVD | pagehelper_project | pagehelpercpe:2.3:a:pagehelper_project:pagehelper:*:*:*:*:*:*:*:* |
>= 5.1.0, <= 5.3.0 | |
| OSV | Maven | com.github.pagehelper:pagehelper | >= 3.5.0, < 5.3.1 | 5.3.1 |
References
- https://github.com/pagehelper/Mybatis-PageHelper · Product, Third Party Advisory, PACKAGE
- https://github.com/pagehelper/Mybatis-PageHelper.git · Product, Third Party Advisory, WEB
- https://github.com/pagehelper/Mybatis-PageHelper/issues/674 · Third Party Advisory, WEB
- https://github.com/yangfar/CVE/blob/main/CVE-2022-42227.md · Exploit, Third Party Advisory, WEB
- https://pagehelper.github.io/ · Product, Third Party Advisory, WEB
- https://www.cnblogs.com/secload/articles/16061420.html · Exploit, Third Party Advisory, WEB
- https://nvd.nist.gov/vuln/detail/CVE-2022-28111 · ADVISORY
- https://github.com/pagehelper/Mybatis-PageHelper/commit/554a524af2d2b30d09505516adc412468a84d8fa · WEB
History
- 25 Nov 2026 20:34 UTC · NVD: first stored (published 4 May 2022)
- 25 Nov 2026 20:13 UTC · OSV: first stored (published 5 May 2022)