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

Published Jun 22, 2022
·
Updated

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.

Affected Software

1 affected component
Frappe ERPNext>=12.0.9<13.1.0

Event History

Jun 22, 2022
CVE Published
via MITRE·07:30 AM
Data Sourced
via MITRE·07:30 AM
RemedyDescriptionWeakness

Frequently Asked Questions

1

What is CVE-2022-23058?

CVE-2022-23058 is a stored XSS vulnerability in ERPNext versions v12.0.9-v13.0.3.

2

How can the stored XSS vulnerability in ERPNext be exploited?

The vulnerability allows low privileged users to store malicious scripts in the 'username' field in 'my settings', leading to potential account takeover.

3

What is the severity of CVE-2022-23058?

CVE-2022-23058 has a severity rating of medium (5.4).

4

How can I fix the stored XSS vulnerability in ERPNext?

To fix the vulnerability, upgrade ERPNext to versions 13.1.0 or above.

5

Where can I find more information about CVE-2022-23058?

You can find more information about CVE-2022-23058 in the following references: [GitHub Commit](https://github.com/frappe/frappe/commit/497ea861f481c6a3c52fe2aed9d0df1b6c99e9d7) and [Mend.io Vulnerability Database](https://www.mend.io/vulnerability-database/CVE-2022-23058).

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203