# CVE-2022-28111: MyBatis PageHelper vulnerable to time-blind SQL injection via orderBy parameter

- Severity: Critical 9.8 (CVSS:3.1, scored by NVD) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 1.73%, higher than 78% of CVEs (2026-12-01)
- Public exploit code or proof of concept: 2 links below, marked "exploit"
- Published: 2022-05-04T00:00:00.000Z
- Modified: 2026-06-17T04:38:00.790Z
- Also known as: GHSA-w559-623p-vfg8
- Weaknesses: CWE-89
- Assigned by: mitre

## 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.

(As written by CVE List.)

## Affected

- Unspecified product: n/a
- com.github.pagehelper:pagehelper (Maven): from 3.5.0 before 5.3.1
- pagehelper_project pagehelper: from 1.0 up to 3.7.0; from 4.0.0 up to 5.0.0; from 5.1.0 up to 5.3.0

## Every score

- GitHub: CVSS:3.1 9.8 Critical `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H`
- NVD: CVSS:3.1 9.8 Critical `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H`
- NVD: CVSS:2.0 7.5 High `AV:N/AC:L/Au:N/C:P/I:P/A:P`

## References

- <https://www.cnblogs.com/secload/articles/16061420.html> (exploit, 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)
- <https://github.com/pagehelper/Mybatis-PageHelper> (package, product, third-party-advisory)
- <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://nvd.nist.gov/vuln/detail/CVE-2022-28111> (advisory)
- <https://github.com/pagehelper/Mybatis-PageHelper/commit/554a524af2d2b30d09505516adc412468a84d8fa> (web)
- <https://pagehelper.github.io> (web)

## Sources

- CVE List: [CVE-2022-28111](https://www.cve.org/CVERecord?id=CVE-2022-28111), CVE Terms of Use, modified 2024-08-03
- GitHub Advisory Database: [GHSA-w559-623p-vfg8](https://github.com/advisories/GHSA-w559-623p-vfg8), CC-BY-4.0, modified 2024-02-17
- NVD: [CVE-2022-28111](https://nvd.nist.gov/vuln/detail/CVE-2022-28111), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2022-28111 · Whole record: https://cve.day/CVE-2022-28111.json · Rebuilt by cve.day 2026-11-25T22:58:11.398Z
