CVE-2022-23057 ERPNext - Stored XSS in My Profile
A low-privileged attacker can inject arbitrary scripts into profile fields, potentially leading to code execution or account takeover in ERPNext.
- 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-23057?
CVE-2022-23057 is a medium-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
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.
Weakness: CWE-79
Which versions are affected by CVE-2022-23057?
It affects 1 product.
Products include Frappe Erpnext.
How do I fix CVE-2022-23057?
No fix has been published for CVE-2022-23057 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-23057 being exploited?
There is no known exploitation of CVE-2022-23057 in the wild and no public exploit code.
Other vulnerabilities in Frappe Erpnext
Sources
Also known as GHSA-943f-w732-4jf9.