# CVE-2021-4289: OpenMRS openmrs-module-referenceapplication User App Page UserAppPageController.java post 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): 1.04%, higher than 64% of CVEs (2026-12-01)
- Published: 2022-12-27T12:23:46.513Z
- Modified: 2026-06-17T04:19:25.970Z
- Weaknesses: CWE-79
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: VulDB

## Description

A vulnerability classified as problematic was found in OpenMRS openmrs-module-referenceapplication up to 2.11.x. Affected by this vulnerability is the function post of the file omod/src/main/java/org/openmrs/module/referenceapplication/page/controller/UserAppPageController.java of the component User App Page. The manipulation of the argument AppId leads to cross site scripting. The attack can be launched remotely. Upgrading to version 2.12.0 is able to address this issue. The name of the patch is 0410c091d46eed3c132fe0fcafe5964182659f74. It is recommended to upgrade the affected component. The associated identifier of this vulnerability is VDB-216883.

(As written by CVE List.)

## Affected

- OpenMRS openmrs-module-referenceapplication: 2.0; 2.1; 2.2; 2.3; 2.4; 2.5; 2.6; 2.7; 2.8; 2.9; 2.10; 2.11
- openmrs reference_application: before 2.12.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.216883> (technical-description, third-party-advisory, vdb-entry)
- <https://vuldb.com/?ctiid.216883> (permissions-required, signature, third-party-advisory)
- <https://github.com/openmrs/openmrs-module-referenceapplication/pull/89> (issue-tracking, patch, third-party-advisory)
- <https://issues.openmrs.org/browse/RA-1875> (issue-tracking, vendor-advisory)
- <https://github.com/openmrs/openmrs-module-referenceapplication/commit/0410c091d46eed3c132fe0fcafe5964182659f74> (patch, third-party-advisory)
- <https://github.com/openmrs/openmrs-module-referenceapplication/releases/tag/referenceapplication-2.12.0> (patch, release-notes, third-party-advisory)

## Sources

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

---

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