Home / frappe / frappe / CVE-2022-23058
CVE-2022-23058: is it exploited, and which versions of frappe are affected and fixed?
CVE-2022-23058 is a cross-site scripting (XSS) vulnerability in frappe. It is not known to be exploited: it is not in CISA's Known Exploited Vulnerabilities catalog (catalog 2026.11.30, read December 3, 2026, 21:09 UTC). Affected: frappe from v12.0.9 before unspecified and frappe through v13.0.3 (CVE record by Mend). Fixed in unspecified (CVE record by Mend). Severity: Low (3.5, CVSS 2.0, from NVD).
Data checked December 3, 2026: last read CISA KEV December 3, 2026, 21:09 UTC, CVE record November 28, 2026, 19:48 UTC and NVD November 19, 2026, 07:47 UTC.
What is CVE-2022-23058?
ERPNext - Stored XSS in My Settings
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.
From the CVE record by Mend, last updated September 16, 2024, 17:37 UTC.
Which versions are affected, and which fix it?
| Vendor | Product | Affected | Fixed or not affected from |
|---|---|---|---|
| frappe | frappe | from v12.0.9 before unspecified through v13.0.3 | unspecified |
As the CVE record by Mend states it, last updated September 16, 2024. Version ranges are the CNA's; a version the record calls not affected is usually the fix.
Which products and versions does the NVD list as affected?
| Vendor | Product | Versions | Type |
|---|---|---|---|
| frappe | erpnext | from 12.0.9 before 13.1.0 | application |
NVD analysis (status Modified), last modified June 17, 2026, 04:29 UTC.
How severe is CVE-2022-23058?
| Score | Version | Vector | Source |
|---|---|---|---|
| Low 3.5 | CVSS 2.0 | AV:N/AC:M/Au:S/C:N/I:P/A:N | NVD |
Each score is shown as its source gave it: the CNA that wrote the record, CISA's ADP (vulnrichment) and the NVD. They can differ.
What the ratings mean: in CVSS 3 and 4, scores run from 0 to 10, with Low 0.1 to 3.9, Medium 4.0 to 6.9, High 7.0 to 8.9 and Critical 9.0 to 10.0. CVSS 2 has no Critical band: its High runs from 7.0 to 10.0. The vector lists how the flaw is reached (network, local), what an attacker needs (privileges, a user's click) and what it can harm.
Is CVE-2022-23058 exploited in the wild?
- CISA KEV
- Not listed (catalog 2026.11.30)
- EPSS
- 0.87% probability of exploitation activity in the next 30 days, percentile 59.9 (FIRST EPSS, scores of December 3, 2026)
What kind of flaw is it?
- CWE-79 Improper Neutralization of Input During Web Page Generation
How do I fix it? (from the CVE record)
Update version to v13.1.0 or later
Where are the vendor advisories and references?
- https://github.com/frappe/frappe/commit/497ea861f481c6a3c52fe2aed9d0df1b6c99e9d7 x_refsource_MISC
- https://www.mend.io/vulnerability-database/CVE-2022-23058 x_refsource_MISC
Who found and reported it?
- Mend Vulnerability Research Team (MVR) (finder)
As published in the CVE record; contact details are removed.
When was it published, and where is the official record?
- Reserved
- January 10, 2022
- Published
- June 22, 2022, 07:30 UTC
- CVE record updated
- September 16, 2024, 17:37 UTC by Mend
- NVD
- Modified, last modified June 17, 2026, 04:29 UTC
- Last checked
- CVE list November 28, 2026, 19:48 UTC; NVD November 19, 2026, 07:47 UTC; KEV December 3, 2026, 21:09 UTC; EPSS December 3, 2026
- Official record
- cve.org · NVD
What other CVEs affect frappe?
- Nov 26, 2026CVE-2026-137550 frappe: missing authorization
- Nov 26, 2026CVE-2026-137551 frappe: exposed Dangerous Method or Function
- Nov 26, 2026CVE-2026-137552 frappe: authentication bypass (improper authentication)
- Nov 26, 2026CVE-2026-137553 frappe: SQL injection
- Nov 26, 2026CVE-2026-137555 frappe: CSV formula injection
- Nov 22, 2026CVE-2026-134837 Frappe: prototype pollution
- Nov 21, 2026CVE-2026-134370 frappe: path traversal (reading or writing files outside the intended folder)
- Nov 21, 2026CVE-2026-134371 frappe: authorization bypass through a user-controlled key (IDOR)
Questions about CVE-2022-23058
Is CVE-2022-23058 exploited in the wild?
Not as far as CISA knows: it is not in the Known Exploited Vulnerabilities catalog, read December 3, 2026, 21:09 UTC. FIRST's EPSS gives it a 0.87% chance of exploitation activity in the next 30 days (scores of December 3, 2026).
Which versions of frappe are affected by CVE-2022-23058?
frappe from v12.0.9 before unspecified and frappe through v13.0.3, per the CVE record by Mend. The tables above give every range the sources list.
Which version fixes CVE-2022-23058?
unspecified, per the CVE record by Mend. Check the vendor's advisory before you rely on it.
How severe is CVE-2022-23058?
Low (3.5, CVSS 2.0, from NVD). The severity table above shows each score with its source.
Where is the official record of CVE-2022-23058?
The CVE Program's record is at cve.org and the NVD's at nvd.nist.gov. For a fix, the vendor's own advisory is the one to follow.