Skip to content
Heist/ feed
Back to feed
Unrated

ERPNext - Stored XSS leads to account takover

Type: advisorySources: OSV

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.

Products
Not specified
Affected versions
Not specified
Fixed versions
Not specified
CVEs
CVE-2022-23056
Confirmed fixed CVEs
Not specified
Updated in this feed
2 Nov 2026, 17:12 UTC · Revision 1

Source evidence

ERPNext - Stored XSS leads to account takover

core-osv · Original source

Published 22 Jun 2022, 07:25 UTC

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.

osv:CVE-2022-23056
Complete source record
{
  "id": "91a1d391fec0fdd2357403ef5f0699e8fe49a1ecd9efcab0d8c30364e33c6330",
  "url": "https://osv.dev/vulnerability/CVE-2022-23056",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "ERPNext - Stored XSS leads to account takover",
    "summary": "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.",
    "evidence": "osv:CVE-2022-23056",
    "products": [],
    "severity": "unknown",
    "structured": {
      "id": "CVE-2022-23056",
      "aliases": [
        "CVE-2022-23056"
      ],
      "affected": [
        {
          "ranges": [
            {
              "repo": "https://github.com/frappe/erpnext",
              "type": "GIT",
              "events": [
                {
                  "introduced": "202ef92fa1f2c588bbe3b2b2c3fc3aea331bf67f"
                },
                {
                  "fixed": "d9f76478da41c797567076422734161e8cab8f12"
                }
              ],
              "database_specific": {
                "extracted_events": [
                  {
                    "range": [
                      {
                        "introduced": "v13.0.0-beta.13"
                      },
                      {
                        "last_affected": "v13.30.0"
                      }
                    ],
                    "source": "AFFECTED_FIELD",
                    "strategy": "SplitRange"
                  },
                  {
                    "cpe": "cpe:2.3:a:frappe:erpnext:*:*:*:*:*:*:*:*",
                    "range": [
                      {
                        "introduced": "13.0.1"
                      },
                      {
                        "fixed": "13.30.0"
                      }
                    ],
                    "source": "CPE_RANGE"
                  }
                ]
              }
            }
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2022-23056.json"
          }
        }
      ],
      "modified": "2026-10-28T02:30:21.793345164Z",
      "provider": "osv",
      "references": [
        "https://github.com/frappe/erpnext/blob/21a3ea462aaf319e466c067c2ec406eb9abe6ed3/erpnext/healthcare/page/patient_history/patient_history.js#L288",
        "https://www.mend.io/vulnerability-database/CVE-2022-23056",
        "https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/23xxx/CVE-2022-23056.json",
        "https://nvd.nist.gov/vuln/detail/CVE-2022-23056"
      ],
      "provider_metadata": {
        "cwe_ids": [
          "CWE-79"
        ],
        "cna_assigner": "Mend",
        "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/23xxx/CVE-2022-23056.json"
      }
    },
    "related_cves": [
      {
        "value": "CVE-2022-23056",
        "evidence": "/id"
      }
    ],
    "security_relevant": true,
    "severity_evidence": null
  },
  "source_id": "core-osv",
  "document_id": 487594,
  "published_at": "2022-06-22T07:25:16.868+00:00"
}