CVE-2021-4291 OpenMRS Admin UI Module location.gsp cross site scripting
Remote attackers can execute arbitrary scripts in OpenMRS Admin UI Module via cross-site scripting in the location management page.
- Exploited in the wild
- Not known
- Login needed
- Any signed-in user
- Attackable
- Over the internet
- Victim action needed
- A user has to click or open something
- Fix
- None listed
What is CVE-2021-4291?
CVE-2021-4291 is a low-severity cross-site scripting vulnerability in OpenMRS Admin UI Module, published on 27 Dec 2022. Any signed-in user can exploit it over the network, and only if a user opens a file or follows a link.
Official description
A vulnerability was found in OpenMRS Admin UI Module up to 1.5.x. It has been declared as problematic. This vulnerability affects unknown code of the file omod/src/main/webapp/pages/metadata/locations/location.gsp. The manipulation leads to cross site scripting. The attack can be initiated remotely. Upgrading to version 1.6.0 is able to address this issue. The name of the patch is a7eefb5f69f6c50a3bffcb138bb8ea57cb41a9b6. It is recommended to upgrade the affected component. The identifier of this vulnerability is VDB-216916.
Weakness: CWE-79
Which versions are affected by CVE-2021-4291?
It affects 1 product.
Products include Openmrs Admin Ui Module.
How do I fix CVE-2021-4291?
No fix has been published for CVE-2021-4291 yet. Limit exposure of the affected software until one is available.
Escape output for the context it lands in and set a strict Content Security Policy. Upgrading the affected component is the real fix. More about Cross-site scripting.
Is CVE-2021-4291 being exploited?
There is no known exploitation of CVE-2021-4291 in the wild and no public exploit code.
Other vulnerabilities in OpenMRS Admin UI Module
Sources
Also known as GHSA-9fpp-2fqj-g2m7.