{"id":"CVE-2022-28111","aliases":["CVE-2022-28111","GHSA-w559-623p-vfg8"],"related":[],"kind":"vulnerability","state":"published","title":"MyBatis PageHelper vulnerable to time-blind SQL injection via orderBy parameter","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.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"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.","source":"cvelist"},{"lang":"en","text":"MyBatis PageHelper versions 3.5.x through 5.3.x were discovered to contain a time-blind SQL injection vulnerability via the orderBy parameter.","format":"markdown","source":"ghsa"},{"lang":"es","text":"Se ha descubierto que MyBatis PageHelper v1.x.x-v3.7.0 v4.0.0-v5.0.0,v5.1.0-v5.3.0 contiene una vulnerabilidad de inyección SQL a través del parámetro orderBy","source":"nvd"}],"published":"2022-05-04T00:00:00.000Z","modified":"2026-06-17T04:38:00.790Z","severity":{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","score":9.8,"rating":"CRITICAL"},"severities":[{"scorer":"GitHub","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","score":9.8,"rating":"CRITICAL"},{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","score":9.8,"rating":"CRITICAL"},{"scorer":"NVD","scheme":"CVSS:2.0","vector":"AV:N/AC:L/Au:N/C:P/I:P/A:P","score":7.5,"rating":"HIGH"}],"cwes":["CWE-89"],"affected":[{"ranges":[{"version":"n/a","status":"affected"}],"source":"cvelist"},{"ranges":[{"type":"ecosystem","introduced":"3.5.0","status":"affected","fixed":"5.3.1"}],"ecosystem":"Maven","package":"com.github.pagehelper:pagehelper","purl":"pkg:maven/com.github.pagehelper/pagehelper","source":"ghsa"},{"ranges":[{"status":"affected","introduced":"1.0","lastAffected":"3.7.0"},{"status":"affected","introduced":"4.0.0","lastAffected":"5.0.0"},{"status":"affected","introduced":"5.1.0","lastAffected":"5.3.0"}],"vendor":"pagehelper_project","product":"pagehelper","cpe":"cpe:2.3:a:pagehelper_project:pagehelper:*:*:*:*:*:*:*:*","source":"nvd"}],"references":[{"url":"https://www.cnblogs.com/secload/articles/16061420.html","tags":["exploit","third-party-advisory","web","x-transferred"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://pagehelper.github.io/","tags":["product","third-party-advisory","x-transferred"],"sources":["cvelist","nvd"]},{"url":"https://github.com/pagehelper/Mybatis-PageHelper","tags":["package","product","third-party-advisory","x-transferred"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://github.com/pagehelper/Mybatis-PageHelper.git","tags":["product","third-party-advisory","web","x-transferred"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://github.com/pagehelper/Mybatis-PageHelper/issues/674","tags":["third-party-advisory","web","x-transferred"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://github.com/yangfar/CVE/blob/main/CVE-2022-42227.md","tags":["exploit","third-party-advisory","web","x-transferred"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2022-28111","tags":["advisory"],"sources":["ghsa"]},{"url":"https://github.com/pagehelper/Mybatis-PageHelper/commit/554a524af2d2b30d09505516adc412468a84d8fa","tags":["web"],"sources":["ghsa"]},{"url":"https://pagehelper.github.io","tags":["web"],"sources":["ghsa"]}],"credits":[],"assigner":"mitre","sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2022-28111","url":"https://www.cve.org/CVERecord?id=CVE-2022-28111","licence":"CVE Terms of Use","modified":"2024-08-03T05:48:37.641Z"},{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-w559-623p-vfg8","url":"https://github.com/advisories/GHSA-w559-623p-vfg8","licence":"CC-BY-4.0","modified":"2024-02-17T05:33:57.079Z"},{"source":"nvd","name":"NVD","id":"CVE-2022-28111","url":"https://nvd.nist.gov/vuln/detail/CVE-2022-28111","licence":"Public domain","modified":"2026-06-17T04:38:00.790Z"}],"updatedAt":"2026-11-25T22:58:11.398Z","epss":{"score":0.01731,"percentile":0.78294,"date":"2026-12-01T12:00:22.000Z"}}