{"id":"CVE-2022-23056","summary":"ERPNext - Stored XSS leads to account takover","details":"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.","modified":"2026-08-12T03:51:27.052398993Z","published":"2022-06-22T07:25:16.868Z","database_specific":{"cwe_ids":["CWE-79"],"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/23xxx/CVE-2022-23056.json","cna_assigner":"Mend"},"references":[{"type":"WEB","url":"https://github.com/frappe/erpnext/blob/21a3ea462aaf319e466c067c2ec406eb9abe6ed3/erpnext/healthcare/page/patient_history/patient_history.js#L288"},{"type":"WEB","url":"https://www.mend.io/vulnerability-database/CVE-2022-23056"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/23xxx/CVE-2022-23056.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2022-23056"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/frappe/erpnext","events":[{"introduced":"e0222723f05d730463d741de7a5ebff9e2081b3a"},{"fixed":"d9f76478da41c797567076422734161e8cab8f12"}],"database_specific":{"cpe":"cpe:2.3:a:frappe:erpnext:*:*:*:*:*:*:*:*","extracted_events":[{"introduced":"13.0.1"},{"fixed":"13.30.0"}],"source":"CPE_RANGE"}}],"versions":["v13.0.0-beta.13","v13.17.0","v13.29.2","v13.29.1","v13.29.0","v13.28.0","v13.27.1","v13.27.0","v13.26.0","v13.25.2","v13.25.1","v13.25.0","v13.24.0","v13.23.3","v13.23.2","v13.23.1","v13.23.0","v13.22.1","v13.22.0","v13.21.1","v13.21.0","v13.20.1","v13.20.0","v13.19.0","v13.18.0","v13.16.1","v13.16.0","v13.15.2","v13.15.1","v13.15.0","v13.14.1","v13.14.0","v13.13.0","v13.12.1","v13.12.0","v13.11.1","v13.11.0","v13.10.2","v13.10.1","v13.10.0","v13.9.2","v13.9.1","v13.9.0","v13.8.0","v13.7.1","v13.5.0","v13.7.0","v13.6.0","v13.5.2","v13.5.1","v13.4.1","v13.4.0","v13.3.1","v13.0.2","v13.3.0","v13.2.1","v13.2.0","v13.1.1","v13.1.0","v13.0.1"],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2022-23056.json"}}],"schema_version":"1.9.0"}