CVE-2022-23057

Source
https://cve.org/CVERecord?id=CVE-2022-23057
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2022-23057.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2022-23057
Published
2022-06-22T07:25:11Z
Modified
2026-10-22T02:48:55Z
Summary
ERPNext - Stored XSS in My Profile
Details

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.

Database specific
{
    "cna_assigner":  "Mend",
    "cwe_ids":  [
        "CWE-79"
    ],
    "osv_generated_from":  "https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/23xxx/CVE-2022-23057.json"
}
References

Affected packages

Git / github.com/frappe/frappe

Affected ranges

Type
GIT
Repo
https://github.com/frappe/frappe
Events
Database specific
Show details
{
    "extracted_events":  [
        {
            "cpe":  "cpe:2.3:a:frappe:erpnext:*:*:*:*:*:*:*:*",
            "range":  [
                {
                    "introduced":  "12.0.9"
                },
                {
                    "fixed":  "13.1.0"
                }
            ],
            "source":  "CPE_RANGE"
        },
        {
            "range":  [
                {
                    "fixed":  "497ea861f481c6a3c52fe2aed9d0df1b6c99e9d7"
                }
            ],
            "source":  "REFERENCES_COMMIT"
        }
    ]
}

Affected versions

v12.*
v12.0.10
v12.0.11
v12.0.12
v12.0.13
v12.0.14
v12.0.15
v12.0.16
v12.0.9
v13.*
v13.0.0
v13.0.0-beta.1
v13.0.1
v13.0.2
v13.0.3

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2022-23057.json"