Approved changes feed: RSS · Atom

cpe:2.3:a:openmrs:openmrs:*:*:*:*:*:*:*:*

part: a version: * update: *

VendorOpenmrs (06cb4728-e719-522c-9a70-e900854f95b6)
ProductOpenmrs (e077daf1-b04d-516f-8219-19eb43cf3f47)
Edition*
Language*
Software edition*
Target software*
Target hardware*
Other*
NotesImported from purl2cpe mapping

PURL mappings

PURLSourceLast updated
pkg:bitbucket/ch3ck_/openmrs-core purl2cpe 2026-06-01 10:11:38.112648
pkg:github/openmrs/openmrs-esm-core purl2cpe 2026-06-01 10:11:38.112650
pkg:github/openmrs/openmrs-module-htmlformentry purl2cpe 2026-06-01 10:11:38.112652
pkg:maven/org.openmrs.maven/openmrs-sdk purl2cpe 2026-06-01 10:11:38.112653
pkg:npm/openmrs purl2cpe 2026-06-01 10:11:38.112654
pkg:sourceforge/openmrs purl2cpe 2026-06-01 10:11:38.112656

Vulnerability references

IdentifiercpeApplicabilitySubmitteddb.gcve.eu detailsRationale
CVE:CVE-2026-40076 vulnerable 2026-06-08 08:01:19.865799 OpenMRS Core arbitrary file write and code execution via Zip Slip in module upload
OpenMRS Core is an open source electronic medical record system platform. In versions 2.7.8 and earlier and versions 2.8.0 through 2.8.5, the module upload endpoint at POST `/openmrs/ws/rest/v1/module` is vulnerable to a Zip Slip path traversal attack. During automatic extraction of uploaded .omod archives in `WebModuleUtil.startModule()`, ZIP entries under web/module/ are checked only to see whether the full entry path starts with `..,` and the remaining path is then concatenated into the destination path without normalization or a boundary check. A crafted archive can therefore include entries such as `web/module/../../../../malicious.jsp` and cause files to be written outside the intended module directory. An authenticated attacker with module upload access can write arbitrary files to locations such as the web application root and achieve remote code execution by uploading a JSP file and then requesting it. The issue is compounded by the fact that the module.allow_web_admin runtime property is enforced in the legacy UI controller but not in the REST API upload path, so deployments relying on that property to block web-based module administration remain exposed through the REST endpoint. This issue has been fixed in versions after 2.7.8 in the 2.7.x line and in version 2.8.6 and later.
Published: 2026-05-06T19:32:13.851Z
Updated: 2026-05-07T13:49:31.840Z
Reference links
Imported from gcve-enriched-dumps CVE data
CVE:CVE-2026-40075 vulnerable 2026-06-08 08:01:19.864896 OpenMRS Core arbitrary file read via path traversal in ModuleResourcesServlet
OpenMRS Core is an open source electronic medical record system platform. In versions 2.7.8 and earlier and versions 2.8.0 through 2.8.5, the `/openmrs/moduleResources/{moduleid}` endpoint is vulnerable to a path traversal attack. The ModuleResourcesServlet constructs a filesystem path from user-controlled input without performing path boundary validation — the getFile() method concatenates the user-supplied path into an absolute filesystem path without calling normalize() or checking that the result stays within the allowed module resources directory. Because this endpoint serves static resources required for rendering the login page, it is not protected by authentication filters, allowing unauthenticated exploitation. An attacker can traverse directories and read arbitrary files from the server filesystem, including /etc/passwd and application configuration files containing database credentials. Successful exploitation requires the target deployment to run on Apache Tomcat versions prior to 8.5.31, where the ..; path parameter bypass is not mitigated by the container. Deployments on Tomcat 8.5.31 or later and Tomcat 9.0.10 or later are protected at the container level, though the underlying code defect remains. This issue has been fixed in versions after 2.7.8 (within the 2.7.x branch) and in version 2.8.6 and later.
Published: 2026-05-05T21:25:41.993Z
Updated: 2026-05-06T14:33:02.685Z
Reference links
Imported from gcve-enriched-dumps CVE data
CVE:CVE-2022-23612 vulnerable 2026-06-08 05:40:58.036367 Directory Traversal in OpenMRS Startup Filter
HIGH (7.5)
OpenMRS is a patient-based medical record system focusing on giving providers a free customizable electronic medical record system. Affected versions are subject to arbitrary file exfiltration due to failure to sanitize request when satisfying GET requests for `/images` & `/initfilter/scripts`. This can allow an attacker to access any file on a system running OpenMRS that is accessible to the user id OpenMRS is running under. Affected implementations should update to the latest patch version of OpenMRS Core for the minor version they use. These are: 2.1.5, 2.2.1, 2.3.5, 2.4.5 and 2.5.3. As a general rule, this vulnerability is already mitigated by Tomcat's URL normalization in Tomcat 7.0.28+. Users on older versions of Tomcat should consider upgrading their Tomcat instance as well as their OpenMRS instance.
Published: 2022-02-22T22:55:12.000Z
Updated: 2025-04-22T18:21:35.794Z
Reference links
Imported from gcve-enriched-dumps CVE data
CVE:CVE-2021-43094 vulnerable 2026-06-08 05:36:42.272235 Details available
An SQL Injection vulnerability exists in OpenMRS Reference Application Standalone Edition <=2.11 and Platform Standalone Edition <=2.4.0 via GET requests on arbitrary parameters in patient.page.
Published: 2022-05-10T11:40:48.000Z
Updated: 2024-08-04T03:47:13.589Z
Reference links
Imported from gcve-enriched-dumps CVE data
CVE:CVE-2020-5733 vulnerable 2026-06-08 05:26:43.592022 Details available
In OpenMRS 2.9 and prior, the export functionality of the Data Exchange Module does not properly redirect to a login page when an unauthenticated user attempts to access it. This allows the export of potentially sensitive information.
Published: 2020-04-17T18:27:07.000Z
Updated: 2024-08-04T08:39:25.743Z
Reference links
Imported from gcve-enriched-dumps CVE data
CVE:CVE-2020-5732 vulnerable 2026-06-08 05:26:43.591723 Details available
In OpenMRS 2.9 and prior, he import functionality of the Data Exchange Module does not properly redirect to a login page when an unauthenticated user attempts to access it. This allows unauthenticated users to use a feature typically restricted to administrators.
Published: 2020-04-17T18:27:00.000Z
Updated: 2024-08-04T08:39:25.692Z
Reference links
Imported from gcve-enriched-dumps CVE data
CVE:CVE-2020-5731 vulnerable 2026-06-08 05:26:43.591288 Details available
In OpenMRS 2.9 and prior, the app parameter for the ActiveVisit's page is vulnerable to cross-site scripting.
Published: 2020-04-17T18:30:05.000Z
Updated: 2024-08-04T08:39:25.773Z
Reference links
Imported from gcve-enriched-dumps CVE data
CVE:CVE-2020-5730 vulnerable 2026-06-08 05:26:43.589250 Details available
In OpenMRS 2.9 and prior, the sessionLocation parameter for the login page is vulnerable to cross-site scripting.
Published: 2020-04-17T18:29:59.000Z
Updated: 2024-08-04T08:39:25.665Z
Reference links
Imported from gcve-enriched-dumps CVE data
CVE:CVE-2020-5729 vulnerable 2026-06-08 05:26:43.588838 Details available
In OpenMRS 2.9 and prior, the UI Framework Error Page reflects arbitrary, user-supplied input back to the browser, which can result in XSS. Any page that is able to trigger a UI Framework Error is susceptible to this issue.
Published: 2020-04-17T18:29:54.000Z
Updated: 2024-08-04T08:39:25.648Z
Reference links
Imported from gcve-enriched-dumps CVE data
CVE:CVE-2020-5728 vulnerable 2026-06-08 05:26:43.588326 Details available
OpenMRS 2.9 and prior copies "Referrer" header values into an html element named "redirectUrl" within many webpages (such as login.htm). There is insufficient validation for this parameter, which allows for the possibility of cross-site scripting.
Published: 2020-04-17T18:29:48.000Z
Updated: 2024-08-04T08:39:25.688Z
Reference links
Imported from gcve-enriched-dumps CVE data
CVE:CVE-2018-19276 vulnerable 2026-06-08 05:11:15.522659 Details available
CRITICAL (10)
OpenMRS before 2.24.0 is affected by an Insecure Object Deserialization vulnerability that allows an unauthenticated user to execute arbitrary commands on the targeted system via crafted XML data in a request body.
Published: 2019-03-17T21:30:20.000Z
Updated: 2024-08-05T11:30:04.048Z
Reference links
Imported from gcve-enriched-dumps CVE data
CVE:CVE-2017-12796 vulnerable 2026-06-08 05:08:47.901486 Details available
The Reporting Compatibility Add On before 2.0.4 for OpenMRS, as distributed in OpenMRS Reference Application before 2.6.1, does not authenticate users when deserializing XML input into ReportSchema objects. The result is that remote unauthenticated users are able to execute operating system commands by crafting malicious XML payloads, as demonstrated by a single admin/reports/reportSchemaXml.form request.
Published: 2017-10-23T04:00:00.000Z
Updated: 2024-08-05T18:51:06.168Z
Reference links
Imported from gcve-enriched-dumps CVE data

Contribute

You can submit an edit proposal for this CPE entry or suggest a related product/vendor addition using the action button above.