{"id":"CVE-2021-40374","aliases":["EUVD-2021-27551","GHSA-6f7g-fvmv-x9vc"],"status":"published","title":"A stored cross-site scripting (XSS) vulnerability was identified in Apperta Foundation OpenEyes 3...","description":"A stored cross-site scripting (XSS) vulnerability was identified in Apperta Foundation OpenEyes 3.5.1. Updating a patient's details allows remote attackers to inject arbitrary web script or HTML via the Address1 parameter. This JavaScript then executes when the patient profile is loaded, which could be used in a XSS attack.","severity":{"version":"3.1","score":5.4,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N","level":"medium","assessor":"primary","from":"nvd"},"epss":{"day":"2026-11-10","score":0.01237,"percentile":0.69329,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":true,"fix_available":false},"cwes":["CWE-79"],"published":"2022-04-06T01:25:54Z","modified":"2026-10-24T10:30:26Z","exploits":[{"source":"pocgithub","id":"DCKento/CVE-2021-40374","title":"DCKento/CVE-2021-40374","date":"2021-08-31","url":"https://github.com/DCKento/CVE-2021-40374"}],"products":[{"vendor":"apperta","product":"openeye"}],"references":[{"url":"https://openeyes.apperta.org/","tags":["x_refsource_MISC","x_transferred","Product","Vendor Advisory","advisory"]},{"url":"https://github.com/DCKento/CVE-2021-40374","tags":["x_refsource_MISC","x_transferred","Exploit","Third Party Advisory","evidence"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2021-40374"},{"url":"https://github.com/advisories/GHSA-6f7g-fvmv-x9vc"}],"sources":{"cve":[{"id":"CVE-2021-40374","description":"A stored cross-site scripting (XSS) vulnerability was identified in Apperta Foundation OpenEyes 3.5.1. Updating a patient's details allows remote attackers to inject arbitrary web script or HTML via the Address1 parameter. This JavaScript then executes when the patient profile is loaded, which could be used in a XSS attack.","status":"published","published":"2022-04-06T01:25:54Z","modified":"2024-08-04T02:44:10.829Z","updated_at":"2026-11-02T14:33:01.852999Z"}],"euvd":[{"id":"EUVD-2021-27551","description":"A stored cross-site scripting (XSS) vulnerability was identified in Apperta Foundation OpenEyes 3.5.1. Updating a patient's details allows remote attackers to inject arbitrary web script or HTML via the Address1 parameter. This JavaScript then executes when the patient profile is loaded, which could be used in a XSS attack.","status":"published","published":"2022-04-06T01:25:54Z","modified":"2024-08-04T02:44:10Z","updated_at":"2026-11-03T03:24:20.862157Z"}],"ghsa":[{"id":"GHSA-6f7g-fvmv-x9vc","title":"A stored cross-site scripting (XSS) vulnerability was identified in Apperta Foundation OpenEyes 3...","description":"A stored cross-site scripting (XSS) vulnerability was identified in Apperta Foundation OpenEyes 3.5.1. Updating a patient's details allows remote attackers to inject arbitrary web script or HTML via the Address1 parameter. This JavaScript then executes when the patient profile is loaded, which could be used in a XSS attack.","status":"published","published":"2022-04-07T00:00:21Z","modified":"2023-01-27T05:01:22Z","cvss":[{"version":"3.1","score":5.4,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N","level":"medium"}],"cwes":["CWE-79"],"updated_at":"2026-11-02T14:41:52.644766Z"}],"nvd":[{"id":"CVE-2021-40374","description":"A stored cross-site scripting (XSS) vulnerability was identified in Apperta Foundation OpenEyes 3.5.1. Updating a patient's details allows remote attackers to inject arbitrary web script or HTML via the Address1 parameter. This JavaScript then executes when the patient profile is loaded, which could be used in a XSS attack.","status":"published","published":"2022-04-06T02:15:08.343Z","modified":"2026-06-17T04:06:49.28Z","cvss":[{"version":"3.1","score":5.4,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N","level":"medium","assessor":"primary"},{"version":"2.0","score":3.5,"vector":"AV:N/AC:M/Au:S/C:N/I:P/A:N","level":"low","assessor":"primary"}],"cwes":["CWE-79"],"updated_at":"2026-11-02T14:07:05.581807Z"}],"osv":[{"id":"CVE-2021-40374","description":"A stored cross-site scripting (XSS) vulnerability was identified in Apperta Foundation OpenEyes 3.5.1. Updating a patient's details allows remote attackers to inject arbitrary web script or HTML via the Address1 parameter. This JavaScript then executes when the patient profile is loaded, which could be used in a XSS attack.","status":"published","published":"2022-04-06T02:15:08.343Z","modified":"2026-10-24T10:30:26.342396211Z","cvss":[{"version":"3.1","score":5.4,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N","level":"medium"}],"updated_at":"2026-11-02T15:44:21.249056Z"}]}}
