CVE-2022-23056 ERPNext - Stored XSS leads to account takover
A low-privilege user can inject stored XSS in the Patient History page to hijack other users' accounts.
- 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-23056?
CVE-2022-23056 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
In ERPNext, versions v13.0.0-beta.13 through v13.30.0 are vulnerable to Stored XSS at the Patient History page which allows a low privilege user to conduct an account takeover attack.
Weakness: CWE-79
Which versions are affected by CVE-2022-23056?
It affects 1 product.
Products include Frappe Erpnext.
How do I fix CVE-2022-23056?
No fix has been published for CVE-2022-23056 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-23056 being exploited?
There is no known exploitation of CVE-2022-23056 in the wild and no public exploit code.
Other vulnerabilities in Frappe Erpnext
Sources
Also known as GHSA-mwv3-grjw-97fq.