{"id":"CVE-2025-31121","published":"2025-04-01T14:53:03Z","modified":"2025-04-01T16:13:34Z","title":"OpenEMR allows XSS in Patient Image feature","vendor":"openemr","product":"openemr","tier":"tail","description":{"text":"OpenEMR is a free and open source electronic health records and medical practice management application. Prior to 7.0.3.1, the Patient Image feature in OpenEMR is vulnerable to cross-site scripting attacks via the EXIF title in an image. This vulnerability is fixed in 7.0.3.1.","provenance":"source","from":"CVE.org"},"cvss":{"score":7,"severity":"HIGH","version":"4.0","vector":"CVSS:4.0/AV:N/AC:H/AT:N/PR:H/UI:A/VC:H/VI:H/VA:N/SC:N/SI:N/SA:N","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.1735,"percentile":0.97184,"provenance":"source"},"cwes":[{"id":"CWE-79","name":"Improper Neutralization of Input During Web Page Generation"}],"references":[{"url":"https://github.com/openemr/openemr/security/advisories/GHSA-2w94-qmj6-3qxx","tags":["x_refsource_CONFIRM"]}],"priority":{"score":24.3,"factors":[{"name":"EPSS percentile","points":19.44},{"name":"CVSS severity","points":4.9}]},"vendorSlug":"openemr","affectedVersions":[{"vendor":"openemr","product":"openemr","versions":["< 7.0.3.1"]}],"ssvc":{"exploitation":"poc","automatable":"no","technicalImpact":"total","timestamp":"2025-04-01T16:13:00.562220Z","from":"CISA ADP","provenance":"source"},"summary":{"text":"OpenEMR, the open-source electronic health records and practice management application, contains a cross-site scripting flaw in its Patient Image feature, where the EXIF title field of an uploaded image is not properly neutralised before being rendered. An attacker who can get a crafted image into the system, with high-privilege access and some form of user interaction, could inject script that runs in the context of another user's session, with high impact to confidentiality and integrity.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-21T15:03:04Z"},"euvd":{"id":"EUVD-2025-9332","exploited":false,"provenance":"source"}}