# CVE-2022-23058: ERPNext - Stored XSS in My Settings

- 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:30:21.429Z
- Modified: 2026-06-17T04:29:26.130Z
- Weaknesses: CWE-79
- Assigned by: Mend

## Description

ERPNext in versions v12.0.9-v13.0.3 are affected by a stored XSS vulnerability that allows low privileged users to store malicious scripts in the ‘username’ field in ‘my settings’ which can lead to full account takeover.

(As written by CVE List.)

## Affected

- frappe frappe: from v12.0.9 before unspecified; from unspecified up to v13.0.3
- frappe erpnext: from 12.0.9 before 13.1.0

## References

- <https://www.mend.io/vulnerability-database/CVE-2022-23058> (exploit, patch, third-party-advisory)
- <https://github.com/frappe/frappe/commit/497ea861f481c6a3c52fe2aed9d0df1b6c99e9d7> (patch, third-party-advisory)

## Sources

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

---

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