CVE-2022-23058 ERPNext - Stored XSS in My Settings
Low-privileged users can inject malicious scripts via the username field in My Settings, leading to full account takeover of other users.
- Exploited in the wild
- Not known
- Login needed
- Any signed-in user
- Attackable
- Over the internet
- Victim action needed
- A user has to click or open something
- Fix
- None listed
What is CVE-2022-23058?
CVE-2022-23058 is a low-severity cross-site scripting vulnerability in Frappe Erpnext, published on 22 Jun 2022. Any signed-in user can exploit it over the network, and only if a user opens a file or follows a link.
Official 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.
Weakness: CWE-79
Which versions are affected by CVE-2022-23058?
It affects 1 product.
Products include Frappe Erpnext.
How do I fix CVE-2022-23058?
No fix has been published for CVE-2022-23058 yet. Limit exposure of the affected software until one is available.
Escape output for the context it lands in and set a strict Content Security Policy. Upgrading the affected component is the real fix. More about Cross-site scripting.
Is CVE-2022-23058 being exploited?
There is no known exploitation of CVE-2022-23058 in the wild and no public exploit code.
Other vulnerabilities in Frappe Erpnext
Sources
Also known as GHSA-7vf8-fmww-vhhv.