{"id":"CVE-2022-1397","aliases":["CVE-2022-1397","GHSA-7f62-4887-cfv5"],"related":[],"kind":"vulnerability","state":"published","title":"API Privilege Escalation in alextselegidis/easyappointments","summary":"API Privilege Escalation in GitHub repository alextselegidis/easyappointments prior to 1.5.0. Full system takeover.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"API Privilege Escalation in GitHub repository alextselegidis/easyappointments prior to 1.5.0. Full system takeover.","source":"cvelist"},{"lang":"en","text":"The Easy!Appointments API authorization is checked against the user's existence, without validating the permissions. As a result, a low privileged user (eg. provider) can create a new admin user via the \"/api/v1/admins/\" endpoint and take over the system. A [patch](https://github.com/alextselegidis/easyappointments/commit/63dbb51decfcc1631c398ecd6d30e3a337845526) is available on the `develop` branch of the repository.","format":"markdown","source":"ghsa"},{"lang":"es","text":"Una Escalada de privilegios de la API en el repositorio de GitHub alextselegidis/easyappointments versiones anteriores a 1.5.0. Una toma de control total del sistema","source":"nvd"}],"published":"2022-05-10T10:05:10.000Z","modified":"2026-06-17T04:22:22.560Z","severity":{"scorer":"@huntrdev","scheme":"CVSS:3.0","vector":"CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","score":8.8,"rating":"HIGH"},"severities":[{"scorer":"@huntrdev","scheme":"CVSS:3.0","vector":"CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","score":8.8,"rating":"HIGH"},{"scorer":"GitHub","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","score":8.8,"rating":"HIGH"},{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","score":8.8,"rating":"HIGH"},{"scorer":"NVD","scheme":"CVSS:2.0","vector":"AV:N/AC:L/Au:S/C:C/I:C/A:C","score":9,"rating":"HIGH"}],"cwes":["CWE-269"],"affected":[{"ranges":[{"type":"custom","introduced":"unspecified","fixed":"1.5.0","status":"affected"}],"vendor":"alextselegidis","product":"alextselegidis/easyappointments","source":"cvelist"},{"ranges":[{"type":"ecosystem","introduced":"0","status":"affected","lastAffected":"1.4.3"}],"ecosystem":"Packagist","package":"alextselegidis/easyappointments","purl":"pkg:composer/alextselegidis/easyappointments","source":"ghsa"},{"ranges":[{"status":"affected","fixed":"1.5.0"}],"vendor":"easyappointments","product":"easyappointments","cpe":"cpe:2.3:a:easyappointments:easyappointments:*:*:*:*:*:*:*:*","source":"nvd"}],"references":[{"url":"https://huntr.dev/bounties/5f69e094-ab8c-47a3-b01d-8c12a3b14c61","tags":["exploit","issue-tracking","patch","technical-description","web","x-refsource-confirm","x-transferred"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://github.com/alextselegidis/easyappointments/commit/63dbb51decfcc1631c398ecd6d30e3a337845526","tags":["patch","technical-description","web","x-refsource-misc","x-transferred"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2022-1397","tags":["advisory"],"sources":["ghsa"]},{"url":"https://github.com/alextselegidis/easyappointments","tags":["package"],"sources":["ghsa"]}],"credits":[],"assigner":"@huntrdev","sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2022-1397","url":"https://www.cve.org/CVERecord?id=CVE-2022-1397","licence":"CVE Terms of Use","modified":"2024-08-03T00:03:06.244Z"},{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-7f62-4887-cfv5","url":"https://github.com/advisories/GHSA-7f62-4887-cfv5","licence":"CC-BY-4.0","modified":"2023-11-08T04:07:47.948Z"},{"source":"nvd","name":"NVD","id":"CVE-2022-1397","url":"https://nvd.nist.gov/vuln/detail/CVE-2022-1397","licence":"Public domain","modified":"2026-06-17T04:22:22.560Z"}],"updatedAt":"2026-11-25T22:58:11.524Z","epss":{"score":0.01166,"percentile":0.68258,"date":"2026-12-02T12:00:21.000Z"}}