{"id":"CVE-2022-23056","state":"PUBLISHED","title":"ERPNext - Stored XSS leads to account takover","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.","publishedAt":"2022-06-22T07:25:16.868Z","updatedAt":"2024-09-17T03:59:39.893Z","severity":null,"assigner":"Mend","products":["erpnext erpnext"],"affected":[{"vendor":"erpnext","product":"erpnext","versions":[{"version":"v13.0.0-beta.13","status":"affected","lessThan":"unspecified","versionType":"custom"},{"version":"unspecified","status":"affected","lessThanOrEqual":"v13.30.0","versionType":"custom"}]}],"references":["https://www.mend.io/vulnerability-database/CVE-2022-23056","https://github.com/frappe/erpnext/blob/21a3ea462aaf319e466c067c2ec406eb9abe6ed3/erpnext/healthcare/page/patient_history/patient_history.js#L288"],"weaknesses":["CWE-79"],"ingestedAt":"2026-10-29T19:49:40.939Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2022/23xxx/CVE-2022-23056.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.1","cveMetadata":{"cveId":"CVE-2022-23056","state":"PUBLISHED","datePublished":"2022-06-22T07:25:16.868Z","dateUpdated":"2024-09-17T03:59:39.893Z","assignerShortName":"Mend","assignerOrgId":"478c68dd-22c1-4a41-97cd-654224dfacff","dateReserved":"2022-01-10T00:00:00.000Z"},"containers":{"cna":{"title":"ERPNext - Stored XSS leads to account takover","descriptions":[{"lang":"en","value":"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."}],"affected":[{"vendor":"erpnext","product":"erpnext","versions":[{"version":"v13.0.0-beta.13","status":"affected","lessThan":"unspecified","versionType":"custom"},{"version":"unspecified","status":"affected","lessThanOrEqual":"v13.30.0","versionType":"custom"}]}],"references":[{"url":"https://www.mend.io/vulnerability-database/CVE-2022-23056","tags":["x_refsource_MISC"]},{"url":"https://github.com/frappe/erpnext/blob/21a3ea462aaf319e466c067c2ec406eb9abe6ed3/erpnext/healthcare/page/patient_history/patient_history.js#L288","tags":["x_refsource_MISC"]}],"metrics":[{"other":{"content":{"attackComplexity":"LOW","attackVector":"NETWORK","availabilityImpact":"NONE","baseScore":5.4,"baseSeverity":"MEDIUM","confidentialityImpact":"LOW","integrityImpact":"LOW","privilegesRequired":"LOW","scope":"CHANGED","userInteraction":"REQUIRED","vectorString":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N","version":3.1},"type":"unknown"}}],"problemTypes":[{"descriptions":[{"cweId":"CWE-79","description":"CWE-79 Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')","lang":"en","type":"CWE"}]}],"providerMetadata":{"shortName":"Mend","dateUpdated":"2022-06-22T07:25:16.000Z","orgId":"478c68dd-22c1-4a41-97cd-654224dfacff"},"credits":[{"lang":"en","value":"Mend Vulnerability Research Team (MVR)"}],"datePublic":"2022-05-17T00:00:00.000Z","source":{"advisory":"https://www.mend.io/vulnerability-database/","discovery":"UNKNOWN"},"x_generator":{"engine":"Vulnogram 0.0.9"},"x_legacyV4Record":{"CVE_data_meta":{"ASSIGNER":"vulnerabilitylab@whitesourcesoftware.com","DATE_PUBLIC":"May 17, 2022, 12:00:00 AM","ID":"CVE-2022-23056","STATE":"PUBLIC","TITLE":"ERPNext - Stored XSS leads to account takover"},"affects":{"vendor":{"vendor_data":[{"product":{"product_data":[{"product_name":"erpnext","version":{"version_data":[{"version_affected":">=","version_value":"v13.0.0-beta.13"},{"version_affected":"<=","version_value":"v13.30.0"}]}}]},"vendor_name":"erpnext"}]}},"credit":[{"lang":"eng","value":"Mend Vulnerability Research Team (MVR)"}],"data_format":"MITRE","data_type":"CVE","data_version":"4.0","description":{"description_data":[{"lang":"eng","value":"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."}]},"generator":{"engine":"Vulnogram 0.0.9"},"impact":{"cvss":{"attackComplexity":"LOW","attackVector":"NETWORK","availabilityImpact":"NONE","baseScore":5.4,"baseSeverity":"MEDIUM","confidentialityImpact":"LOW","integrityImpact":"LOW","privilegesRequired":"LOW","scope":"CHANGED","userInteraction":"REQUIRED","vectorString":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N","version":3.1}},"problemtype":{"problemtype_data":[{"description":[{"lang":"eng","value":"CWE-79 Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')"}]}]},"references":{"reference_data":[{"name":"https://www.mend.io/vulnerability-database/CVE-2022-23056","refsource":"MISC","url":"https://www.mend.io/vulnerability-database/CVE-2022-23056"},{"name":"https://github.com/frappe/erpnext/blob/21a3ea462aaf319e466c067c2ec406eb9abe6ed3/erpnext/healthcare/page/patient_history/patient_history.js#L288","refsource":"MISC","url":"https://github.com/frappe/erpnext/blob/21a3ea462aaf319e466c067c2ec406eb9abe6ed3/erpnext/healthcare/page/patient_history/patient_history.js#L288"}]},"source":{"advisory":"https://www.mend.io/vulnerability-database/","discovery":"UNKNOWN"}}},"adp":[{"title":"CVE Program Container","references":[{"url":"https://www.mend.io/vulnerability-database/CVE-2022-23056","tags":["x_refsource_MISC","x_transferred"]},{"url":"https://github.com/frappe/erpnext/blob/21a3ea462aaf319e466c067c2ec406eb9abe6ed3/erpnext/healthcare/page/patient_history/patient_history.js#L288","tags":["x_refsource_MISC","x_transferred"]}],"providerMetadata":{"shortName":"CVE","orgId":"af854a3a-2127-422b-91ae-364da2661108","dateUpdated":"2024-08-03T03:28:43.275Z"}}]}}}