{"id":"CVE-2022-23056","aliases":["CVE-2022-23056"],"related":[],"kind":"vulnerability","state":"published","title":"ERPNext - Stored XSS leads to account takover","summary":"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.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"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.","source":"cvelist"},{"lang":"es","text":"En ERPNext, versiones v13.0.0-beta.13 hasta v13.30.0, son vulnerables a un ataque de tipo XSS almacenado en la página del historial del paciente, lo que permite a un usuario con pocos privilegios conducir un ataque de toma de control de la cuenta","source":"nvd"}],"published":"2022-06-22T07:25:16.868Z","modified":"2026-06-17T04:29:25.913Z","severity":{"scorer":"NVD","scheme":"CVSS:2.0","vector":"AV:N/AC:M/Au:S/C:N/I:P/A:N","score":3.5,"rating":"LOW"},"severities":[{"scorer":"NVD","scheme":"CVSS:2.0","vector":"AV:N/AC:M/Au:S/C:N/I:P/A:N","score":3.5,"rating":"LOW"}],"cwes":["CWE-79"],"affected":[{"ranges":[{"type":"custom","introduced":"v13.0.0-beta.13","fixed":"unspecified","status":"affected"},{"type":"custom","introduced":"unspecified","lastAffected":"v13.30.0","status":"affected"}],"vendor":"erpnext","product":"erpnext","source":"cvelist"},{"ranges":[{"status":"affected","introduced":"13.0.1","fixed":"13.30.0"},{"status":"affected","version":"13.0.0"},{"status":"affected","version":"13.0.0"}],"vendor":"frappe","product":"erpnext","cpe":"cpe:2.3:a:frappe:erpnext:*:*:*:*:*:*:*:*","source":"nvd"}],"references":[{"url":"https://www.mend.io/vulnerability-database/CVE-2022-23056","tags":["exploit","patch","third-party-advisory","x-refsource-misc","x-transferred"],"sources":["cvelist","nvd"]},{"url":"https://github.com/frappe/erpnext/blob/21a3ea462aaf319e466c067c2ec406eb9abe6ed3/erpnext/healthcare/page/patient_history/patient_history.js#L288","tags":["patch","third-party-advisory","x-refsource-misc","x-transferred"],"sources":["cvelist","nvd"]}],"credits":["Mend Vulnerability Research Team (MVR)"],"assigner":"Mend","sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2022-23056","url":"https://www.cve.org/CVERecord?id=CVE-2022-23056","licence":"CVE Terms of Use","modified":"2024-09-17T03:59:39.893Z"},{"source":"nvd","name":"NVD","id":"CVE-2022-23056","url":"https://nvd.nist.gov/vuln/detail/CVE-2022-23056","licence":"Public domain","modified":"2026-06-17T04:29:25.913Z"}],"updatedAt":"2026-11-25T22:58:12.485Z","epss":{"score":0.00866,"percentile":0.59753,"date":"2026-12-01T12:00:22.000Z"}}