{"id":"CVE-2025-31121","summary":"OpenEMR allows XSS in Patient Image feature","details":"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.","aliases":["GHSA-2w94-qmj6-3qxx"],"modified":"2026-08-12T03:51:38.131965446Z","published":"2025-04-01T14:53:03.469Z","database_specific":{"cna_assigner":"GitHub_M","cwe_ids":["CWE-79"],"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/31xxx/CVE-2025-31121.json"},"references":[{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/31xxx/CVE-2025-31121.json"},{"type":"ADVISORY","url":"https://github.com/openemr/openemr/security/advisories/GHSA-2w94-qmj6-3qxx"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2025-31121"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/openemr/openemr","events":[{"introduced":"0"},{"fixed":"16c3af148f08092d01aef54188b7d7bb1ba632ac"}],"database_specific":{"extracted_events":[{"introduced":"0"},{"fixed":"7.0.3.1"}],"source":["AFFECTED_FIELD","CPE_RANGE"],"cpe":"cpe:2.3:a:open-emr:openemr:*:*:*:*:*:*:*:*"}}],"versions":["v7_0_3","v3_0_1","v3_0_0","v2_9_0","v2_8_3","v2_8_2","v2_8_1","v2_8_0","v2_7_3-rc1","v2_7_2","v2_7_2-rc2","v2_7_2-rc1"],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2025-31121.json"}}],"schema_version":"1.9.0","severity":[{"type":"CVSS_V4","score":"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"}]}