{"schemaVersion":1,"url":"https://cve.openhack.com/cve/CVE-2022-23056","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.","descriptionLong":"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.","published":"2022-06-22T07:25:16.868Z","updated":"2026-10-28T02:30:21.793345164Z","reserved":"2022-01-10T00:00:00.000Z","status":"Modified","rejected":false,"assigner":"Mend","metric":{"version":"2.0","score":3.5,"vector":"AV:N/AC:M/Au:S/C:N/I:P/A:N","rating":"low","source":"NVD"},"metrics":[{"version":"2.0","score":3.5,"vector":"AV:N/AC:M/Au:S/C:N/I:P/A:N","rating":"low","source":"NVD"}],"rating":"low","products":["erpnext"],"affectedProducts":[{"vendor":"erpnext","product":"erpnext","defaultStatus":null,"versions":[{"lessThan":"unspecified","status":"affected","version":"v13.0.0-beta.13","versionType":"custom"},{"lessThanOrEqual":"v13.30.0","status":"affected","version":"unspecified","versionType":"custom"}],"platforms":[]}],"packages":[],"cwes":["CWE-79"],"aliases":[],"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://github.com/CVEProject/cvelistV5/tree/main/cves/2022/23xxx/CVE-2022-23056.json","tags":["advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2022-23056","tags":["advisory"]}],"patchReferenced":true,"fixAvailable":true,"exploitReferenced":true,"kev":false,"kevAdded":null,"kevDue":null,"kevEntry":null,"ssvc":null,"epss":0.00866,"epssPercentile":0.59429,"sources":[{"name":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2022-23056","ok":true},{"name":"NVD","url":"https://nvd.nist.gov/vuln/detail/CVE-2022-23056","ok":true,"note":"Modified"},{"name":"OSV","url":"https://osv.dev/vulnerability/CVE-2022-23056","ok":true,"note":"0 packages"},{"name":"CISA KEV","url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","ok":true,"note":"not listed"},{"name":"EPSS","url":"https://api.first.org/data/v1/epss?cve=CVE-2022-23056","ok":true,"note":"scored 2026-11-19"}],"aiTitle":false,"tech":[],"critical":[],"attention":null}