CVE-2020-5728
OpenMRS - Standalone Edition vulnerability analysis and mitigation

Overview

OpenMRS version 2.9 and prior versions contain a cross-site scripting (XSS) vulnerability identified as CVE-2020-5728. The vulnerability was discovered in January 2020 and publicly disclosed in April 2020. The issue affects the application's handling of 'Referrer' header values, which are copied into an HTML element named 'redirectUrl' within multiple webpages, including login.htm (Tenable Advisory).

Technical details

The vulnerability stems from insufficient validation of the 'Referrer' header values when they are copied into the 'redirectUrl' HTML element. This implementation flaw allows for the possibility of cross-site scripting attacks. The vulnerability has been assigned a CVSS v3.1 Base Score of 6.1 (Medium) with the vector string CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N, indicating that it is network-accessible, requires low attack complexity, needs no privileges, but does require user interaction (NVD).

Impact

The vulnerability could allow attackers to execute cross-site scripting attacks, potentially leading to the compromise of user sessions, theft of sensitive information, or manipulation of web content. The CVSS scoring indicates low impact on both confidentiality and integrity, with no impact on availability (NVD).

Exploitability

The vulnerability can be exploited by manipulating the 'Referrer' header in HTTP requests to affected pages. A proof-of-concept exploit has been documented that demonstrates the vulnerability using a curl command to send a malicious Referrer header (Tenable Advisory).

Mitigation and workarounds

Users should upgrade to a version of OpenMRS newer than 2.9.0 to address this vulnerability. The issue affects all versions up to and including 2.9.0 (NVD).

Additional resources


SourceThis report was generated using AI

Related OpenMRS - Standalone Edition vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

CVE-2026-40076CRITICAL9.4
  • Java logoJava
  • cpe:2.3:a:openmrs:openmrs
NoYesMay 06, 2026
CVE-2026-40075HIGH8.2
  • Java logoJava
  • cpe:2.3:a:openmrs:openmrs
NoYesMay 05, 2026
CVE-2025-25928HIGH8
  • OpenMRS - Standalone Edition logoOpenMRS - Standalone Edition
  • cpe:2.3:a:openmrs:openmrs
NoYesMar 11, 2025
CVE-2025-25927MEDIUM6.8
  • OpenMRS - Standalone Edition logoOpenMRS - Standalone Edition
  • cpe:2.3:a:openmrs:openmrs
NoYesMar 11, 2025
CVE-2025-25929MEDIUM5.4
  • OpenMRS - Standalone Edition logoOpenMRS - Standalone Edition
  • cpe:2.3:a:openmrs:openmrs
NoYesMar 11, 2025

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management