CVE-2021-4289 OpenMRS openmrs-module-referenceapplication User App Page UserAppPageController.java post cross site scripting
Remote attackers can execute arbitrary scripts via the AppId parameter in the User App Page, potentially compromising user sessions.
- 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-4289?
CVE-2021-4289 is a low-severity cross-site scripting vulnerability in openmrs-module-referenceapplication, 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 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.
Weakness: CWE-79
Which versions are affected by CVE-2021-4289?
It affects 1 product.
Products include Openmrs Reference Application.
How do I fix CVE-2021-4289?
No fix has been published for CVE-2021-4289 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-4289 being exploited?
There is no known exploitation of CVE-2021-4289 in the wild and no public exploit code.
Other vulnerabilities in openmrs-module-referenceapplication
Sources
Also known as GHSA-36m9-prc4-gjq2.