# CVE-2022-23057: ERPNext - Stored XSS in My Profile

- Severity: Medium 5.4 (CVSS:3.1, scored by NVD) `CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/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.63%, higher than 51% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2022-06-22T07:25:11.161Z
- Modified: 2026-06-17T04:29:26.020Z
- Weaknesses: CWE-79
- Assigned by: Mend

## Description

In ERPNext, versions v12.0.9--v13.0.3 are vulnerable to Stored Cross-Site-Scripting (XSS), due to user input not being validated properly. A low privileged attacker could inject arbitrary code into input fields when editing his profile.

(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

## Every score

- NVD: CVSS:3.1 5.4 Medium `CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N`
- NVD: CVSS:2.0 3.5 Low `AV:N/AC:M/Au:S/C:N/I:P/A:N`

## References

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

## Sources

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

---

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