# CVE-2022-23056: ERPNext - Stored XSS leads to account takover

- Severity: Low 3.5 (CVSS:2.0, scored by NVD) `AV:N/AC:M/Au:S/C:N/I:P/A:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.87%, higher than 59% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2022-06-22T07:25:16.868Z
- Modified: 2026-06-17T04:29:25.913Z
- Weaknesses: CWE-79
- Assigned by: Mend

## 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.

(As written by CVE List.)

## Affected

- erpnext erpnext: from v13.0.0-beta.13 before unspecified; from unspecified up to v13.30.0
- frappe erpnext: from 13.0.1 before 13.30.0; 13.0.0

## References

- <https://www.mend.io/vulnerability-database/CVE-2022-23056> (exploit, patch, third-party-advisory)
- <https://github.com/frappe/erpnext/blob/21a3ea462aaf319e466c067c2ec406eb9abe6ed3/erpnext/healthcare/page/patient_history/patient_history.js#L288> (patch, third-party-advisory)

## Sources

- CVE List: [CVE-2022-23056](https://www.cve.org/CVERecord?id=CVE-2022-23056), CVE Terms of Use, modified 2024-09-17
- NVD: [CVE-2022-23056](https://nvd.nist.gov/vuln/detail/CVE-2022-23056), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2022-23056 · Whole record: https://cve.day/CVE-2022-23056.json · Rebuilt by cve.day 2026-11-25T22:58:12.485Z
