{"id":"CVE-2022-4615","published":"2022-12-19T00:00:00Z","modified":"2025-04-14T18:03:28Z","title":"Cross-site Scripting (XSS) - Reflected in openemr/openemr","vendor":"openemr","product":"openemr/openemr","tier":"tail","description":{"text":"Cross-site Scripting (XSS) - Reflected in GitHub repository openemr/openemr prior to 7.0.0.2.","provenance":"source","from":"CVE.org"},"cvss":{"score":8.3,"severity":"HIGH","version":"3.0","vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:C/C:L/I:L/A:L","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00696,"percentile":0.5394,"provenance":"source"},"cwes":[{"id":"CWE-79","name":"Improper Neutralization of Input During Web Page Generation"}],"references":[{"url":"https://huntr.dev/bounties/9c66ece4-bcaa-417d-8b98-e8daff8a728b","tags":[]},{"url":"https://github.com/openemr/openemr/commit/d5eb41697f7f1bc2c7ee5bc9bbf58684e1c8cc14","tags":[]}],"priority":{"score":16.6,"factors":[{"name":"EPSS percentile","points":10.79},{"name":"CVSS severity","points":5.81}]},"vendorSlug":"openemr","affectedVersions":[{"vendor":"openemr","product":"openemr/openemr","versions":[">= unspecified, < 7.0.0.2"]}],"ssvc":{"exploitation":"poc","automatable":"yes","technicalImpact":"total","timestamp":"2025-04-14T14:22:48.096944Z","from":"CISA ADP","provenance":"source"},"euvd":{"id":"EUVD-2022-51946","exploited":false,"provenance":"source"},"lineage":{"familyId":"fam-openemr-openemr-cve-2018-17179","parents":[{"from":"CVE-2018-17180","to":"CVE-2022-4615","relation":"related","confidence":"medium","kind":"lineage","evidence":[{"kind":"same-code","provenance":"machine","files":["portal/index.php","portal/lib/appsql.class.php"],"commits":["https://github.com/openemr/openemr/commit/4963fe4932a0a4e1e982642226174e9931d09541","https://github.com/openemr/openemr/commit/d5eb41697f7f1bc2c7ee5bc9bbf58684e1c8cc14"],"basis":"shared function","functions":["portalAudit"]}]},{"from":"CVE-2018-17181","to":"CVE-2022-4615","relation":"related","confidence":"medium","kind":"lineage","evidence":[{"kind":"same-code","provenance":"machine","files":["portal/index.php","portal/lib/appsql.class.php"],"commits":["https://github.com/openemr/openemr/commit/4963fe4932a0a4e1e982642226174e9931d09541","https://github.com/openemr/openemr/commit/d5eb41697f7f1bc2c7ee5bc9bbf58684e1c8cc14"],"basis":"shared function","functions":["portalAudit"]}]},{"from":"CVE-2022-1177","to":"CVE-2022-4615","relation":"related","confidence":"medium","kind":"lineage","evidence":[{"kind":"same-code","provenance":"machine","files":["interface/patient_file/report/custom_report.php"],"commits":["https://github.com/openemr/openemr/commit/a2e918abcf15f9fc1f7cb4a1f2b09ff019021175","https://github.com/openemr/openemr/commit/d5eb41697f7f1bc2c7ee5bc9bbf58684e1c8cc14"],"basis":"rarely changed file"}]},{"from":"CVE-2022-1181","to":"CVE-2022-4615","relation":"related","confidence":"medium","kind":"lineage","evidence":[{"kind":"same-code","provenance":"machine","files":["interface/billing/sl_eob_invoice.php"],"commits":["https://github.com/openemr/openemr/commit/2835cc397610fc28037302dad948c38fda032022","https://github.com/openemr/openemr/commit/d5eb41697f7f1bc2c7ee5bc9bbf58684e1c8cc14"],"basis":"shared function","functions":["updateFields"]},{"kind":"similar","provenance":"machine","score":0.8,"basis":"same product + CWE + description similarity"}]},{"from":"CVE-2022-1459","to":"CVE-2022-4615","relation":"related","confidence":"medium","kind":"lineage","evidence":[{"kind":"same-code","provenance":"machine","files":["interface/patient_file/summary/demographics.php"],"commits":["https://github.com/openemr/openemr/commit/8f8a97724c0e8fcc4096b4b30af9aaf064ada45a","https://github.com/openemr/openemr/commit/d5eb41697f7f1bc2c7ee5bc9bbf58684e1c8cc14"],"basis":"shared function","functions":["setMyPatient"]}]},{"from":"CVE-2022-2493","to":"CVE-2022-4615","relation":"related","confidence":"medium","kind":"lineage","evidence":[{"kind":"same-code","provenance":"machine","files":["interface/billing/edit_payment.php","interface/billing/search_payments.php","interface/patient_file/summary/demographics.php"],"commits":["https://github.com/openemr/openemr/commit/871ae5198d8ca18fd17257ae7c5c906a52dca908","https://github.com/openemr/openemr/commit/d5eb41697f7f1bc2c7ee5bc9bbf58684e1c8cc14"],"basis":"shared function","functions":["setMyPatient"]}]},{"from":"CVE-2022-2730","to":"CVE-2022-4615","relation":"related","confidence":"medium","kind":"lineage","evidence":[{"kind":"same-code","provenance":"machine","files":["interface/patient_file/summary/demographics.php"],"commits":["https://github.com/openemr/openemr/commit/2973592bc7b1f4996738a6fd27d1e277e33676b6","https://github.com/openemr/openemr/commit/d5eb41697f7f1bc2c7ee5bc9bbf58684e1c8cc14"],"basis":"shared function","functions":["setMyPatient"]}]},{"from":"CVE-2022-2732","to":"CVE-2022-4615","relation":"related","confidence":"medium","kind":"lineage","evidence":[{"kind":"same-code","provenance":"machine","files":["interface/patient_file/summary/demographics.php"],"commits":["https://github.com/openemr/openemr/commit/2973592bc7b1f4996738a6fd27d1e277e33676b6","https://github.com/openemr/openemr/commit/d5eb41697f7f1bc2c7ee5bc9bbf58684e1c8cc14"],"basis":"shared function","functions":["setMyPatient"]}]},{"from":"CVE-2022-4505","to":"CVE-2022-4615","relation":"related","confidence":"medium","kind":"lineage","evidence":[{"kind":"same-code","provenance":"machine","files":["interface/billing/edit_payment.php"],"commits":["https://github.com/openemr/openemr/commit/235b1910ffe5296187667277d4e197a0c3a9ac33","https://github.com/openemr/openemr/commit/d5eb41697f7f1bc2c7ee5bc9bbf58684e1c8cc14"],"basis":"shared function","functions":["DeletePaymentDistribution"]}]},{"from":"CVE-2022-4567","to":"CVE-2022-4615","relation":"related","confidence":"medium","kind":"lineage","evidence":[{"kind":"same-code","provenance":"machine","files":["sql/database.sql","sql/patch.sql"],"commits":["https://github.com/openemr/openemr/commit/953cb84dfd55fee9d5296668ec7fdb8bf25bcea4","https://github.com/openemr/openemr/commit/d5eb41697f7f1bc2c7ee5bc9bbf58684e1c8cc14"],"basis":"rarely changed file"}]}],"children":[{"from":"CVE-2022-4615","to":"CVE-2026-102940","relation":"related","confidence":"medium","kind":"lineage","evidence":[{"kind":"same-code","provenance":"machine","files":["interface/billing/sl_eob_invoice.php"],"commits":["https://github.com/openemr/openemr/commit/d5eb41697f7f1bc2c7ee5bc9bbf58684e1c8cc14","https://github.com/openemr/openemr/commit/312b5d042f7fa49cc78ebed041155fba339a991c"],"basis":"rarely changed file"}]}]}}