Back to CVE records
High 7.0HealthcarePublished Apr 1, 2025

CVE-2025-31121OpenEMR allows XSS in Patient Image feature

Updated under an hour ago ()

Does this affect you?

It affects openemr and 1 other product. Add what you run to find out whether that includes you.

EPSS puts the chance of exploitation in the next 30 days at 17.35%, higher than 97% of scored CVEs. That is high: schedule it on your emergency patch path.

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.

CVSS
7.0 HIGH (v4.0, CNA)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
Weakness (CWE)
CWE-79
Known exploited
Not in CISA's KEV catalog
EPSS (exploitation in the next 30 days)
17.35% (percentile 97)
Assigned by
GitHub_M
NVD analysis
Analyzed
Record last updated
Apr 1, 2025
First seen by InfoSec Signals
Oct 12, 2026

Affected products

Affected products
openemr openemr
openemr:openemr (from the name)
before 7.0.3.1
CNA record
open-emr openemr
open-emr:openemr
before 7.0.3.1
NVD

References

  • x-refsource-confirm, exploit, vendor-advisory

The CVE record is authoritative. Products marked “from the name” were identified from the CNA's free-text names, not a CPE, and are matched less certainly. This product uses the NVD API but is not endorsed or certified by the NVD.

Your cookie choices
We use essential cookies to run this site, and, only with your consent, an advertising cookie from Google to measure whether our ads lead to sign-ups and subscriptions. See our for details.