CWE
79
EPSS
0.057%
Advisory Published
Updated

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

First published: Tue Apr 01 2025(Updated: )

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.

Credit: security-advisories@github.com

Affected SoftwareAffected VersionHow to fix
OpenEMR<7.0.3.1
OpenEMR<7.0.3.1

Never miss a vulnerability like this again

Sign up to SecAlerts for real-time vulnerability data matched to your software, aggregated from hundreds of sources.

Frequently Asked Questions

  • What is the severity of CVE-2025-31121?

    CVE-2025-31121 is rated as a medium severity vulnerability due to its potential risk for cross-site scripting attacks.

  • How do I fix CVE-2025-31121?

    To fix CVE-2025-31121, upgrade OpenEMR to version 7.0.3.1 or higher where the vulnerability has been patched.

  • What is the main impact of CVE-2025-31121?

    The main impact of CVE-2025-31121 is the possibility of executing malicious scripts in the context of a user's session through the Patient Image feature.

  • Which versions of OpenEMR are affected by CVE-2025-31121?

    OpenEMR versions prior to 7.0.3.1 are affected by CVE-2025-31121.

  • Are there any known exploits for CVE-2025-31121?

    As of now, there are no publicly disclosed exploits specifically targeting CVE-2025-31121.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2025 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203