CVE-2025-31121

CVE-2025-31121 is a medium-severity vulnerability in Open-emr Openemr with a CVSS 3.x base score of 5.4. Its EPSS exploit-prediction score of 15% places it in the 96th percentile, indicating an elevated likelihood of exploitation. The underlying weakness is classified as CWE-79.

Key facts

Description

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.

Frequently asked questions

What is 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.
How severe is CVE-2025-31121?
CVE-2025-31121 has a CVSS 3.x base score of 5.4, rated medium severity. It is exploitable over network with low attack complexity, requires low privileges and user interaction. Impact on confidentiality is low, integrity low, and availability none.
Is CVE-2025-31121 being actively exploited?
It is not currently listed in CISA's KEV catalog. Its EPSS exploit-prediction score is 15% (96th percentile), an estimate of the probability of exploitation in the next 30 days.
What products are affected by CVE-2025-31121?
CVE-2025-31121 affects Open-emr Openemr. See the affected-products list for the exact vulnerable versions.
How do I fix CVE-2025-31121?
Review the linked vendor and NVD advisories for patched versions and mitigations, then upgrade or apply the recommended workaround.
Does CVE-2025-31121 have an EU (EUVD) identifier?
Yes. CVE-2025-31121 is tracked in the ENISA EU Vulnerability Database (EUVD) as EUVD-2025-9332.
When was CVE-2025-31121 published?
CVE-2025-31121 was published on 2025-04-01 and last updated on 2026-06-17.

References

Affected products (1)

More vulnerabilities in Open-emr Openemr

All CVEs affecting Open-emr Openemr →

Other CWE-79 (Cross-site Scripting (XSS)) vulnerabilities

Browse all CWE-79 (Cross-site Scripting (XSS)) vulnerabilities →