{"id":"CVE-2022-28111","aliases":["EUVD-2022-5500","GHSA-w559-623p-vfg8"],"status":"published","title":"MyBatis PageHelper vulnerable to time-blind SQL injection via orderBy parameter","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.","severity":{"version":"3.1","score":9.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","level":"critical","assessor":"primary","from":"nvd"},"epss":{"day":"2026-11-10","score":0.01731,"percentile":0.77805,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":false,"fix_available":true},"cwes":["CWE-89"],"published":"2022-05-04T00:00:00Z","modified":"2026-10-28T02:31:11Z","fixes":[{"ecosystem":"Maven","package":"com.github.pagehelper:pagehelper","fixed_in":["5.3.1"],"sources":["ghsa","osv"]}],"affected":[{"source":"ghsa","ecosystem":"Maven","package":"com.github.pagehelper:pagehelper","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"3.5.0"},{"fixed":"5.3.1"}]}]},{"source":"osv","ecosystem":"Maven","package":"com.github.pagehelper:pagehelper","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"3.5.0"},{"fixed":"5.3.1"}]}],"versions":["3.5.0","3.5.1","3.6.0","3.6.1","3.6.2","3.6.3","3.6.4","3.7.0","3.7.1","3.7.2","3.7.3","3.7.4","3.7.5","3.7.6","4.0.0","4.0.1","4.0.2","4.0.3","4.1.0","4.1.1","4.1.2","4.1.3","4.1.4","4.1.5","4.1.6","4.2.0","4.2.1","5.0.0","5.0.0-beta","5.0.0-rc","5.0.1","5.0.2","5.0.2-beta","5.0.3","5.0.3-beta","5.0.4","5.1.0","5.1.0-beta","5.1.0-beta2","5.1.1","5.1.10","5.1.11","5.1.2","5.1.2-beta","5.1.3","5.1.4","5.1.5","5.1.6","5.1.7","5.1.8","5.1.9","5.2.0","5.2.1","5.3.0"]}],"products":[{"vendor":"pagehelper_project","product":"pagehelper"}],"references":[{"url":"https://www.cnblogs.com/secload/articles/16061420.html","tags":["x_transferred","Exploit","Third Party Advisory","article","web"]},{"url":"https://pagehelper.github.io/","tags":["x_transferred","Product","Third Party Advisory","web"]},{"url":"https://github.com/pagehelper/Mybatis-PageHelper","tags":["x_transferred","Product","Third Party Advisory","package"]},{"url":"https://github.com/pagehelper/Mybatis-PageHelper.git","tags":["x_transferred","Product","Third Party Advisory","package","web"]},{"url":"https://github.com/pagehelper/Mybatis-PageHelper/issues/674","tags":["x_transferred","Third Party Advisory","report","web"]},{"url":"https://github.com/yangfar/CVE/blob/main/CVE-2022-42227.md","tags":["x_transferred","Exploit","Third Party Advisory","web"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2022-28111","tags":["advisory"]},{"url":"https://github.com/pagehelper/Mybatis-PageHelper/commit/554a524af2d2b30d09505516adc412468a84d8fa","tags":["web"]},{"url":"https://github.com/advisories/GHSA-w559-623p-vfg8"},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/28xxx/CVE-2022-28111.json","tags":["advisory"]},{"url":"https://pagehelper.github.io","tags":["web"]}],"sources":{"cve":[{"id":"CVE-2022-28111","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.","status":"published","published":"2022-05-04T00:00:00Z","modified":"2024-08-03T05:48:37.641Z","updated_at":"2026-11-02T14:34:39.233406Z"}],"euvd":[{"id":"EUVD-2022-5500","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.","status":"published","published":"2022-05-04T00:00:00Z","modified":"2024-08-03T05:48:37Z","updated_at":"2026-11-03T03:25:41.002Z"}],"ghsa":[{"id":"GHSA-w559-623p-vfg8","title":"MyBatis PageHelper vulnerable to time-blind SQL injection via orderBy parameter","description":"MyBatis PageHelper versions 3.5.x through 5.3.x were discovered to contain a time-blind SQL injection vulnerability via the orderBy parameter.","status":"published","published":"2022-05-05T00:00:25Z","modified":"2023-02-01T05:07:18Z","cvss":[{"version":"3.1","score":9.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","level":"critical"}],"cwes":["CWE-89"],"updated_at":"2026-11-02T14:36:39.76883Z"}],"nvd":[{"id":"CVE-2022-28111","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.","status":"published","published":"2022-05-04T13:15:08.643Z","modified":"2026-06-17T04:38:00.79Z","cvss":[{"version":"3.1","score":9.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","level":"critical","assessor":"primary"},{"version":"2.0","score":7.5,"vector":"AV:N/AC:L/Au:N/C:P/I:P/A:P","level":"high","assessor":"primary"}],"cwes":["CWE-89"],"updated_at":"2026-11-02T14:07:18.660414Z"}],"osv":[{"id":"GHSA-w559-623p-vfg8","title":"MyBatis PageHelper vulnerable to time-blind SQL injection via orderBy parameter","description":"MyBatis PageHelper versions 3.5.x through 5.3.x were discovered to contain a time-blind SQL injection vulnerability via the orderBy parameter.","status":"published","published":"2022-05-05T00:00:25Z","modified":"2024-02-17T05:33:57.079803Z","cvss":[{"version":"3.1","score":9.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","level":"critical"}],"cwes":["CWE-89"],"updated_at":"2026-11-02T15:46:58.04805Z"},{"id":"CVE-2022-28111","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.","status":"published","published":"2022-05-04T00:00:00Z","modified":"2026-10-28T02:31:11.6244905Z","updated_at":"2026-11-02T15:44:25.164673Z"}]}}
