{"id":"CVE-2021-40374","details":"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.","modified":"2026-04-10T04:48:53.515019Z","published":"2022-04-06T02:15:08.343Z","references":[{"type":"ADVISORY","url":"https://openeyes.apperta.org/"},{"type":"EVIDENCE","url":"https://github.com/DCKento/CVE-2021-40374"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/appertafoundation/openeyes","events":[{"introduced":"0"},{"last_affected":"c079383d2033404b8a5af7c2f552843444f3440a"}],"database_specific":{"versions":[{"introduced":"0"},{"last_affected":"3.5.1"}]}}],"versions":["3.2.1","archive/sprint/4","beforev3rebase","sprint26","v1.11","v1.11.1","v1.7.0","v1.8.6","v3.1","v3.2","v3.2.1","v3.3","v3.3.1","v3.4","v3.4.1","v3.5","v3.5.1"],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2021-40374.json"}}],"schema_version":"1.7.5","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N"}]}