# CVE-2021-4291: OpenMRS Admin UI Module location.gsp cross site scripting

- Severity: Low 3.5 (CVSS:3.1, scored by VulDB) `CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:N/I:L/A:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.98%, higher than 63% of CVEs (2026-12-01)
- Published: 2022-12-27T22:54:46.691Z
- Modified: 2026-06-17T04:19:26.230Z
- Weaknesses: CWE-79
- Assigned by: VulDB

## 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.

(As written by CVE List.)

## Affected

- OpenMRS Admin UI Module: 1.0; 1.1; 1.2; 1.3; 1.4; 1.5
- openmrs admin_ui_module: before 1.6.0

## Every score

- VulDB: CVSS:3.1 3.5 Low `CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:N/I:L/A:N`
- VulDB: CVSS:3.0 3.5 Low `CVSS:3.0/AV:N/AC:L/PR:L/UI:R/S:U/C:N/I:L/A:N`
- NVD: CVSS:3.1 6.1 Medium `CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N`

## References

- <https://vuldb.com/?id.216916> (permissions-required, third-party-advisory, vdb-entry)
- <https://vuldb.com/?ctiid.216916> (permissions-required, signature, third-party-advisory)
- <https://github.com/openmrs/openmrs-module-adminui/pull/61> (issue-tracking, patch, third-party-advisory)
- <https://github.com/openmrs/openmrs-module-adminui/commit/a7eefb5f69f6c50a3bffcb138bb8ea57cb41a9b6> (patch, third-party-advisory)
- <https://github.com/openmrs/openmrs-module-adminui/releases/tag/1.6.0> (patch, release-notes, third-party-advisory)

## Sources

- CVE List: [CVE-2021-4291](https://www.cve.org/CVERecord?id=CVE-2021-4291), CVE Terms of Use, modified 2024-08-03
- NVD: [CVE-2021-4291](https://nvd.nist.gov/vuln/detail/CVE-2021-4291), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2021-4291 · Whole record: https://cve.day/CVE-2021-4291.json · Rebuilt by cve.day 2026-11-25T22:58:08.023Z
