PT-2020-18651 · Openmrs · Openmrs

Published

2020-04-17

·

Updated

2021-07-21

·

CVE-2020-5728

CVSS v3.1

6.1

Medium

VectorAV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
Name of the Vulnerable Software and Affected Versions OpenMRS versions 2.9 and prior
Description The issue concerns insufficient validation of the referrer header value, which is copied into an HTML element named redirectUrl within various webpages, such as login.htm. This insufficient validation allows for the possibility of cross-site scripting.
Recommendations For OpenMRS versions 2.9 and prior, consider validating and sanitizing the referrer header value to prevent cross-site scripting attacks. As a temporary workaround, restrict access to the redirectUrl HTML element until a proper fix is applied.

Exploit

Fix

XSS

RCE

Found an issue in the description? Have something to add? Feel free to write us 👾

Weakness Enumeration

Related Identifiers

CVE-2020-5728

Affected Products

Openmrs