{"id":"CVE-2022-23056","aliases":["EUVD-2022-28166","GHSA-mwv3-grjw-97fq"],"status":"published","title":"ERPNext - Stored XSS leads to account takover","description":"In ERPNext, versions v13.0.0-beta.13 through v13.30.0 are vulnerable to Stored XSS at the Patient History page which allows a low privilege user to conduct an account takeover attack.","severity":{"version":"2.0","score":3.5,"vector":"AV:N/AC:M/Au:S/C:N/I:P/A:N","level":"low","assessor":"primary","from":"nvd"},"epss":{"day":"2026-11-10","score":0.00852,"percentile":0.58574,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":false,"fix_available":false},"cwes":["CWE-79"],"published":"2022-06-22T07:25:16Z","modified":"2026-10-28T02:30:21Z","products":[{"vendor":"erpnext","product":"erpnext"},{"vendor":"frappe","product":"erpnext"}],"references":[{"url":"https://www.mend.io/vulnerability-database/CVE-2022-23056","tags":["x_refsource_MISC","x_transferred","Exploit","Patch","Third Party Advisory","web"]},{"url":"https://github.com/frappe/erpnext/blob/21a3ea462aaf319e466c067c2ec406eb9abe6ed3/erpnext/healthcare/page/patient_history/patient_history.js#L288","tags":["x_refsource_MISC","x_transferred","Patch","Third Party Advisory","web"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2022-23056","tags":["advisory"]},{"url":"https://github.com/advisories/GHSA-mwv3-grjw-97fq"},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/23xxx/CVE-2022-23056.json","tags":["advisory"]}],"sources":{"cve":[{"id":"CVE-2022-23056","title":"ERPNext - Stored XSS leads to account takover","description":"In ERPNext, versions v13.0.0-beta.13 through v13.30.0 are vulnerable to Stored XSS at the Patient History page which allows a low privilege user to conduct an account takeover attack.","status":"published","published":"2022-06-22T07:25:16.868Z","modified":"2024-09-17T03:59:39.893Z","cwes":["CWE-79"],"updated_at":"2026-11-02T14:34:29.478363Z"}],"euvd":[{"id":"EUVD-2022-28166","description":"In ERPNext, versions v13.0.0-beta.13 through v13.30.0 are vulnerable to Stored XSS at the Patient History page which allows a low privilege user to conduct an account takeover attack.","status":"published","published":"2022-06-22T07:25:16Z","modified":"2024-09-17T03:59:39Z","updated_at":"2026-11-03T00:28:27.115818Z"}],"ghsa":[{"id":"GHSA-mwv3-grjw-97fq","title":"In ERPNext, versions v13.0.0-beta.13 through v13.30.0 are vulnerable to Stored XSS at the Patient...","description":"In ERPNext, versions v13.0.0-beta.13 through v13.30.0 are vulnerable to Stored XSS at the Patient History page which allows a low privilege user to conduct an account takeover attack.","status":"published","published":"2022-06-23T00:00:35Z","modified":"2023-01-27T05:04:35Z","cvss":[{"version":"3.1","score":5.4,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N","level":"medium"}],"cwes":["CWE-79"],"updated_at":"2026-11-02T14:42:29.964757Z"}],"nvd":[{"id":"CVE-2022-23056","description":"In ERPNext, versions v13.0.0-beta.13 through v13.30.0 are vulnerable to Stored XSS at the Patient History page which allows a low privilege user to conduct an account takeover attack.","status":"published","published":"2022-06-22T08:15:07.41Z","modified":"2026-06-17T04:29:25.913Z","cvss":[{"version":"2.0","score":3.5,"vector":"AV:N/AC:M/Au:S/C:N/I:P/A:N","level":"low","assessor":"primary"}],"cwes":["CWE-79"],"updated_at":"2026-11-02T14:07:22.613788Z"}],"osv":[{"id":"CVE-2022-23056","title":"ERPNext - Stored XSS leads to account takover","description":"In ERPNext, versions v13.0.0-beta.13 through v13.30.0 are vulnerable to Stored XSS at the Patient History page which allows a low privilege user to conduct an account takeover attack.","status":"published","published":"2022-06-22T07:25:16.868Z","modified":"2026-10-28T02:30:21.793345164Z","cwes":["CWE-79"],"updated_at":"2026-11-02T15:44:24.061177Z"}]}}
