XSS in Open-Emr Openemr

CVE-2025-31121

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.

Vulnerability class: XSS (Cross-Site Scripting)

Published · last modified .

CVSS v3 metric

CVSS v3 base score 5.4 (Medium). Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N.

EPSS exploit prediction

EPSS: 0.173 (97.0th percentile), scored .

Moderate probability of exploitation in the next 30 days — watch for active exploitation reports. 97th percentile — 97.0% of CVEs in the catalogue have a lower EPSS than this one. How to read EPSS.

EPSS trend (30 days)EPSS over the last 30 days for CVE-2025-31121: rose from 0.162 to 0.173.

EPSS over last 30 days · oldest: 0.162 · newest: 0.173 · change: +0.012

Affected products

Weakness classification (CWE)

References

Frequently asked questions

What is CVE-2025-31121?
CVE-2025-31121 is a medium-severity vulnerability in Open-Emr Openemr, classified under Cross-site Scripting. CVSS score: 5.4/10. Published 2025-04-01.
How severe is CVE-2025-31121?
Medium severity. CVSS v3 base score is 5.4 out of 10.